2022-08-21 19:34:24 +02:00
|
|
|
{
|
|
|
|
"name": "LibreOffice",
|
|
|
|
"targets":{
|
|
|
|
"clean": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "vfs-rm_no_error",
|
|
|
|
"data": ["build/debug","build/release"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"require": ["ts"],
|
|
|
|
"jobs":[
|
|
|
|
{
|
|
|
|
"name": "vfs-mkdir",
|
|
|
|
"data": ["build","build/debug","build/release"]
|
|
|
|
},
|
|
|
|
{
|
2023-06-01 16:14:35 +02:00
|
|
|
"name": "ts-antos-sdk",
|
|
|
|
"data": {
|
|
|
|
"version": "2.0.x"
|
|
|
|
}
|
2022-08-21 19:34:24 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ts-compile",
|
|
|
|
"data": {
|
|
|
|
"src": ["main.ts"],
|
|
|
|
"dest": "build/debug/main.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"uglify": {
|
|
|
|
"require": ["terser"],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name":"terser-uglify",
|
|
|
|
"data": ["build/debug/main.js"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"copy": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "vfs-cp",
|
|
|
|
"data": {
|
|
|
|
"src": [
|
|
|
|
"scheme.html",
|
|
|
|
"package.json",
|
|
|
|
"README.md",
|
|
|
|
"api",
|
|
|
|
"main.css",
|
2022-08-23 10:17:58 +02:00
|
|
|
"templates",
|
|
|
|
"icon.png"
|
2022-08-21 19:34:24 +02:00
|
|
|
],
|
|
|
|
"dest":"build/debug"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"release": {
|
|
|
|
"depend": ["clean","build","uglify", "copy"],
|
|
|
|
"require": ["zip"],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "zip-mk",
|
|
|
|
"data": {
|
|
|
|
"src":"build/debug",
|
|
|
|
"dest":"build/release/LibreOffice.zip"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|