update antedit

This commit is contained in:
mrsang
2021-04-20 17:36:01 +02:00
parent 9087647527
commit a0f3f25338
14 changed files with 2082 additions and 43 deletions

View File

@@ -0,0 +1,15 @@
# {0}
This is an example project, generated by AntOS Development Kit
## Howto
Use the Antedit command palette to access to the SDK functionalities:
1. Create new project
2. Init the project from the current folder located in side bar
3. Build and run the project
4. Release the project in zip package
## Set up build target
Open the `build.json` file from the current project tree and add/remove
build target entries and jobs. Save the file

View File

@@ -0,0 +1,70 @@
{
"name": "{0}",
"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": {
"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"
],
"dest":"build/debug"
}
}
]
},
"release": {
"depend": ["clean","build","uglify", "copy"],
"require": ["zip"],
"jobs": [
{
"name": "zip-mk",
"data": {
"src":"build/debug",
"dest":"build/release/{0}.zip"
}
}
]
}
}
}

View File

@@ -0,0 +1,18 @@
namespace OS {
export namespace application {
/**
*
* @class {0}
* @extends {BaseApplication}
*/
export class {0} extends BaseApplication {
constructor(args: AppArgumentsType[]) {
super("{0}", args);
}
main(): void {
// YOUR CODE HERE
}
}
}
}

View File

@@ -0,0 +1,16 @@
{
"pkgname": "{0}",
"app":"{0}",
"name":"{0}",
"description":"{0}",
"info":{
"author": "",
"email": ""
},
"version":"0.0.1-a",
"category":"Other",
"iconclass":"fa fa-adn",
"mimes":["none"],
"dependencies":[],
"locale": {}
}

View File

@@ -0,0 +1,3 @@
<afx-app-window apptitle="{0}" width="500" height="400" data-id="{0}">
<afx-hbox ></afx-hbox>
</afx-app-window>