2021-04-21 11:37:58 +02:00
|
|
|
{
|
|
|
|
"name": "LuaPlayground",
|
|
|
|
"targets": {
|
|
|
|
"init": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "vfs-mkdir",
|
|
|
|
"data": [
|
|
|
|
"build",
|
|
|
|
"build/debug",
|
|
|
|
"build/release"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"coffee": {
|
|
|
|
"require": [
|
|
|
|
"coffee"
|
|
|
|
],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "coffee-compile",
|
|
|
|
"data": {
|
|
|
|
"src": [
|
|
|
|
"coffees/main.coffee"
|
|
|
|
],
|
|
|
|
"dest": "build/debug/coffee-main.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"cat": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "vfs-cat",
|
|
|
|
"data": {
|
|
|
|
"src": [
|
|
|
|
"build/debug/coffee-main.js",
|
|
|
|
"javascripts/paper-core.min.js"
|
|
|
|
],
|
|
|
|
"dest": "build/debug/main.js"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "vfs-rm",
|
|
|
|
"data": [
|
|
|
|
"build/debug/coffee-main.js"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"uglify": {
|
|
|
|
"require": [
|
|
|
|
"terser"
|
|
|
|
],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "terser-uglify",
|
|
|
|
"data": [
|
|
|
|
"build/debug/main.js"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"copy": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "vfs-cp",
|
|
|
|
"data": {
|
|
|
|
"src": [
|
|
|
|
"css/main.css",
|
|
|
|
"assets/scheme.html",
|
|
|
|
"package.json",
|
|
|
|
"README.md"
|
|
|
|
],
|
|
|
|
"dest": "build/debug"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-07-14 12:05:12 +02:00
|
|
|
"debug": {
|
2021-04-21 11:37:58 +02:00
|
|
|
"depend": [
|
|
|
|
"init",
|
|
|
|
"coffee",
|
|
|
|
"cat",
|
|
|
|
"copy"
|
2023-07-14 12:05:12 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"release": {
|
|
|
|
"require": [
|
|
|
|
"zip"
|
|
|
|
],
|
|
|
|
"depend": [
|
|
|
|
"debug",
|
|
|
|
"uglify"
|
2021-04-21 11:37:58 +02:00
|
|
|
],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "zip-mk",
|
|
|
|
"data": {
|
|
|
|
"src": "build/debug",
|
|
|
|
"dest": "build/release/LuaPlayground.zip"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|