2021-04-20 17:36:01 +02:00
|
|
|
{
|
2021-04-21 11:37:58 +02:00
|
|
|
"name": "ACECore",
|
2021-04-20 17:36:01 +02:00
|
|
|
"targets":{
|
|
|
|
"clean": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "vfs-rm",
|
|
|
|
"data": ["build/debug","build/release"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"require": ["ts"],
|
|
|
|
"jobs":[
|
|
|
|
{
|
|
|
|
"name": "vfs-mkdir",
|
|
|
|
"data": ["build","build/debug","build/release"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ts-import",
|
|
|
|
"data": ["sdk://core/ts/core.d.ts", "sdk://core/ts/jquery.d.ts","sdk://core/ts/antos.d.ts"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ts-compile",
|
|
|
|
"data": {
|
2021-04-21 11:37:58 +02:00
|
|
|
"src": ["path.ts"],
|
|
|
|
"dest": "build/debug/path.js"
|
2021-04-20 17:36:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"copy": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "vfs-cp",
|
|
|
|
"data": {
|
|
|
|
"src": [
|
2021-04-21 11:37:58 +02:00
|
|
|
"core",
|
2021-04-20 17:36:01 +02:00
|
|
|
"package.json",
|
|
|
|
"README.md"
|
|
|
|
],
|
|
|
|
"dest":"build/debug"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"release": {
|
2021-04-21 11:37:58 +02:00
|
|
|
"depend": ["clean","build", "copy"],
|
2021-04-20 17:36:01 +02:00
|
|
|
"require": ["zip"],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "zip-mk",
|
|
|
|
"data": {
|
|
|
|
"src":"build/debug",
|
2021-04-21 11:37:58 +02:00
|
|
|
"dest":"build/release/ACECore.zip"
|
2021-04-20 17:36:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|