mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-13 14:14:27 +02:00
update compatibility to AntOS next
This commit is contained in:
@ -5,6 +5,7 @@ Application for serverside code testing and analytics tool.
|
||||
It allows to execute lua code on the server from the browser
|
||||
|
||||
## Change logs
|
||||
* 0.1.0-a: Change package dependencies
|
||||
* 0.0.7-a: Change icon and category
|
||||
* 0.0.6-a: Fix ace path error
|
||||
* 0.0.5-a: Fix worker path error
|
103
LuaPlayground/build.json
Normal file
103
LuaPlayground/build.json
Normal file
@ -0,0 +1,103 @@
|
||||
{
|
||||
"name": "LuaPlayground",
|
||||
"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",
|
||||
"javascripts/paper-core.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/LuaPlayground.zip"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -5,6 +5,7 @@ Application for serverside code testing and analytics tool.
|
||||
It allows to execute lua code on the server from the browser
|
||||
|
||||
## Change logs
|
||||
* 0.1.0-a: Change package dependencies
|
||||
* 0.0.7-a: Change icon and category
|
||||
* 0.0.6-a: Fix ace path error
|
||||
* 0.0.5-a: Fix worker path error
|
@ -1,4 +1,3 @@
|
||||
|
||||
afx-app-window[data-id="LuaPlayground"] div[data-id="output"] p{
|
||||
margin:0;
|
||||
padding:0;
|
||||
|
File diff suppressed because one or more lines are too long
@ -3,11 +3,12 @@
|
||||
"name":"LuaPlayground",
|
||||
"description":"Module testing and analytics tool",
|
||||
"info":{
|
||||
"author": "Xuan Sang LEs",
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.0.8-a",
|
||||
"version":"0.1.0-a",
|
||||
"category":"Development",
|
||||
"iconclass":"bi bi-gear-fill",
|
||||
"dependencies":["ACECore@1.4.12-r"],
|
||||
"mimes":["none"]
|
||||
}
|
Binary file not shown.
@ -149,7 +149,6 @@ class LuaPlayground extends this.OS.application.BaseApplication
|
||||
main: () ->
|
||||
@datarea = @find "editorea"
|
||||
@output = @find "output"
|
||||
ace.config.set('basePath', "scripts/ace")
|
||||
@.editor = ace.edit @datarea
|
||||
@.editor.setOptions {
|
||||
enableBasicAutocompletion: true,
|
||||
@ -231,5 +230,8 @@ class LuaPlayground extends this.OS.application.BaseApplication
|
||||
cleanup: (e)->
|
||||
@socket.close() if @socket
|
||||
|
||||
LuaPlayground.dependencies = ["os://scripts/ace/ace.js"]
|
||||
LuaPlayground.dependencies = [
|
||||
"pkg://ACECore/core/ace.js",
|
||||
"pkg://ACECore/path.js",
|
||||
]
|
||||
this.OS.register "LuaPlayground", LuaPlayground
|
||||
|
@ -6,8 +6,9 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.0.8-a",
|
||||
"version":"0.1.0-a",
|
||||
"category":"Development",
|
||||
"iconclass":"bi bi-gear-fill",
|
||||
"dependencies":["ACECore@1.4.12-r"],
|
||||
"mimes":["none"]
|
||||
}
|
Reference in New Issue
Block a user