mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-19 11:48:22 +01:00
104 lines
2.8 KiB
JSON
104 lines
2.8 KiB
JSON
{
|
|
"name": "GraphEditor",
|
|
"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",
|
|
"home://workspace/antosdk-apps/GraphEditor/javascripts/svg-pan-zoom.js",
|
|
"home://workspace/antosdk-apps/GraphEditor/javascripts/mermaid.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"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"release": {
|
|
"require": [
|
|
"zip"
|
|
],
|
|
"depend": [
|
|
"init",
|
|
"coffee",
|
|
"cat",
|
|
"uglify",
|
|
"copy"
|
|
],
|
|
"jobs": [
|
|
{
|
|
"name": "zip-mk",
|
|
"data": {
|
|
"src": "build/debug",
|
|
"dest": "build/release/GraphEditor.zip"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |