mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-15 09:58:21 +01:00
85 lines
2.1 KiB
JSON
85 lines
2.1 KiB
JSON
{
|
|
"name": "GPClient",
|
|
"targets": {
|
|
"init": {
|
|
"jobs": [
|
|
{
|
|
"name": "vfs-rm_no_error",
|
|
"data": ["build/debug","build/release"]
|
|
},
|
|
{
|
|
"name": "vfs-mkdir",
|
|
"data": [
|
|
"build",
|
|
"build/debug",
|
|
"build/release"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"coffee": {
|
|
"require": [
|
|
"coffee"
|
|
],
|
|
"jobs": [
|
|
{
|
|
"name": "coffee-compile",
|
|
"data": {
|
|
"src": [
|
|
"coffees/main.coffee"
|
|
],
|
|
"dest": "build/debug/main.js"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"uglify": {
|
|
"require": [
|
|
"terser"
|
|
],
|
|
"jobs": [
|
|
{
|
|
"name": "terser-uglify",
|
|
"data": [
|
|
"build/debug/main.js"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"copy": {
|
|
"jobs": [
|
|
{
|
|
"name": "vfs-cp",
|
|
"data": {
|
|
"src": [
|
|
"assets/scheme.html",
|
|
"package.json",
|
|
"README.md"
|
|
],
|
|
"dest": "build/debug"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"release": {
|
|
"require": [
|
|
"zip"
|
|
],
|
|
"depend": [
|
|
"init",
|
|
"coffee",
|
|
"uglify",
|
|
"copy"
|
|
],
|
|
"jobs": [
|
|
{
|
|
"name": "zip-mk",
|
|
"data": {
|
|
"src": "build/debug",
|
|
"dest": "build/release/GPClient.zip"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |