dependencies and build w/ editor script
This commit is contained in:
4
tct-vscode-editor/.haxerc
Normal file
4
tct-vscode-editor/.haxerc
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"version": "4.3.1",
|
||||
"resolveLibs": "scoped"
|
||||
}
|
@@ -1,10 +1,17 @@
|
||||
-lib kiss-vscode-api
|
||||
-lib kiss
|
||||
-lib bad-nlp
|
||||
-cp src
|
||||
-js bin/extension.js
|
||||
-dce full
|
||||
-D analyzer-optimize
|
||||
-D js-es=6
|
||||
-debug
|
||||
--each
|
||||
|
||||
-js bin/extension.js
|
||||
Main
|
||||
--next
|
||||
|
||||
-js bin/editor.js
|
||||
Editor
|
||||
|
||||
-cmd npx vsce package
|
7
tct-vscode-editor/haxe_libraries/bad-nlp.hxml
Normal file
7
tct-vscode-editor/haxe_libraries/bad-nlp.hxml
Normal file
@@ -0,0 +1,7 @@
|
||||
# @install: lix --silent download "gh://github.com/kiss-lang/bad-nlp#109301d23c4f1e9df34cd570f4249d6b9120b561" into bad-nlp/0.0.0/github/109301d23c4f1e9df34cd570f4249d6b9120b561
|
||||
# @run: haxelib run-dir bad-nlp "${HAXE_LIBCACHE}/bad-nlp/0.0.0/github/109301d23c4f1e9df34cd570f4249d6b9120b561"
|
||||
-lib haxe-strings
|
||||
-lib kiss
|
||||
-lib yaml
|
||||
-cp ${HAXE_LIBCACHE}/bad-nlp/0.0.0/github/109301d23c4f1e9df34cd570f4249d6b9120b561/src/
|
||||
-D bad-nlp=0.0.0
|
5
tct-vscode-editor/haxe_libraries/haxe-strings.hxml
Normal file
5
tct-vscode-editor/haxe_libraries/haxe-strings.hxml
Normal file
@@ -0,0 +1,5 @@
|
||||
# @install: lix --silent download "haxelib:/haxe-strings#7.0.3" into haxe-strings/7.0.3/haxelib
|
||||
-cp ${HAXE_LIBCACHE}/haxe-strings/7.0.3/haxelib/src/
|
||||
-D haxe-strings=7.0.3
|
||||
--macro hx.strings.internal.Macros.addDefines()
|
||||
--macro hx.strings.internal.Macros.configureNullSafety()
|
5
tct-vscode-editor/haxe_libraries/hscript.hxml
Normal file
5
tct-vscode-editor/haxe_libraries/hscript.hxml
Normal file
@@ -0,0 +1,5 @@
|
||||
# @install: lix --silent download "haxelib:/hscript#2.5.0" into hscript/2.5.0/haxelib
|
||||
# @run: haxelib run-dir hscript "${HAXE_LIBCACHE}/hscript/2.5.0/haxelib"
|
||||
-cp ${HAXE_LIBCACHE}/hscript/2.5.0/haxelib/
|
||||
-D hscript=2.5.0
|
||||
--macro keep('IntIterator')
|
7
tct-vscode-editor/haxe_libraries/hxnodejs.hxml
Normal file
7
tct-vscode-editor/haxe_libraries/hxnodejs.hxml
Normal file
@@ -0,0 +1,7 @@
|
||||
# @install: lix --silent download "gh://github.com/haxefoundation/hxnodejs#504066dc1ba5ad543afa5f6c3ea019f06136a82b" into hxnodejs/12.1.0/github/504066dc1ba5ad543afa5f6c3ea019f06136a82b
|
||||
-cp ${HAXE_LIBCACHE}/hxnodejs/12.1.0/github/504066dc1ba5ad543afa5f6c3ea019f06136a82b/src
|
||||
-D hxnodejs=12.1.0
|
||||
--macro allowPackage('sys')
|
||||
# should behave like other target defines and not be defined in macro context
|
||||
--macro define('nodejs')
|
||||
--macro _internal.SuppressDeprecated.run()
|
8
tct-vscode-editor/haxe_libraries/kiss-vscode-api.hxml
Normal file
8
tct-vscode-editor/haxe_libraries/kiss-vscode-api.hxml
Normal file
@@ -0,0 +1,8 @@
|
||||
# @install: lix --silent download "gh://github.com/kiss-lang/kiss-vscode-api#1540b8f5024d51994234b1d812e74db774f5cd94" into kiss-vscode-api/0.0.0/github/1540b8f5024d51994234b1d812e74db774f5cd94
|
||||
# @run: haxelib run-dir kiss-vscode-api "${HAXE_LIBCACHE}/kiss-vscode-api/0.0.0/github/1540b8f5024d51994234b1d812e74db774f5cd94"
|
||||
-lib hxnodejs
|
||||
-lib kiss
|
||||
-lib re-flex
|
||||
-lib vscode
|
||||
-cp ${HAXE_LIBCACHE}/kiss-vscode-api/0.0.0/github/1540b8f5024d51994234b1d812e74db774f5cd94/src/
|
||||
-D kiss-vscode-api=0.0.0
|
12
tct-vscode-editor/haxe_libraries/kiss.hxml
Normal file
12
tct-vscode-editor/haxe_libraries/kiss.hxml
Normal file
@@ -0,0 +1,12 @@
|
||||
# @install: lix --silent download "gh://github.com/kiss-lang/kiss#196a91a2cd9a5174fbbdee2a35c59f73ea5bac9f" into kiss/0.0.1/github/196a91a2cd9a5174fbbdee2a35c59f73ea5bac9f
|
||||
# @run: haxelib run-dir kiss "${HAXE_LIBCACHE}/kiss/0.0.1/github/196a91a2cd9a5174fbbdee2a35c59f73ea5bac9f"
|
||||
-lib haxe-strings
|
||||
-lib hscript
|
||||
-lib tink_json
|
||||
-lib tink_macro
|
||||
-lib tink_syntaxhub
|
||||
-lib uuid
|
||||
-cp ${HAXE_LIBCACHE}/kiss/0.0.1/github/196a91a2cd9a5174fbbdee2a35c59f73ea5bac9f/src/
|
||||
-D kiss=0.0.1
|
||||
-w -WUnusedPattern
|
||||
--macro kiss.KissFrontend.use()
|
5
tct-vscode-editor/haxe_libraries/re-flex.hxml
Normal file
5
tct-vscode-editor/haxe_libraries/re-flex.hxml
Normal file
@@ -0,0 +1,5 @@
|
||||
# @install: lix --silent download "gh://github.com/kiss-lang/re-flex#af60a7f889511361c10f34b93679637ff43cfa09" into re-flex/0.0.0/github/af60a7f889511361c10f34b93679637ff43cfa09
|
||||
# @run: haxelib run-dir re-flex "${HAXE_LIBCACHE}/re-flex/0.0.0/github/af60a7f889511361c10f34b93679637ff43cfa09"
|
||||
-lib kiss
|
||||
-cp ${HAXE_LIBCACHE}/re-flex/0.0.0/github/af60a7f889511361c10f34b93679637ff43cfa09/src/
|
||||
-D re-flex=0.0.0
|
4
tct-vscode-editor/haxe_libraries/tct.hxml
Normal file
4
tct-vscode-editor/haxe_libraries/tct.hxml
Normal file
@@ -0,0 +1,4 @@
|
||||
-lib kiss
|
||||
-cp ${SCOPE_DIR}/../tct/src/
|
||||
-D tct=0.0.0
|
||||
--macro Sys.println("haxe_libraries/tct.hxml:3: [Warning] Using dev version of library tct")
|
3
tct-vscode-editor/haxe_libraries/tink_core.hxml
Normal file
3
tct-vscode-editor/haxe_libraries/tink_core.hxml
Normal file
@@ -0,0 +1,3 @@
|
||||
# @install: lix --silent download "haxelib:/tink_core#2.1.0" into tink_core/2.1.0/haxelib
|
||||
-cp ${HAXE_LIBCACHE}/tink_core/2.1.0/haxelib/src
|
||||
-D tink_core=2.1.0
|
4
tct-vscode-editor/haxe_libraries/tink_json.hxml
Normal file
4
tct-vscode-editor/haxe_libraries/tink_json.hxml
Normal file
@@ -0,0 +1,4 @@
|
||||
# @install: lix --silent download "haxelib:/tink_json#0.11.0" into tink_json/0.11.0/haxelib
|
||||
-lib tink_typecrawler
|
||||
-cp ${HAXE_LIBCACHE}/tink_json/0.11.0/haxelib/src
|
||||
-D tink_json=0.11.0
|
4
tct-vscode-editor/haxe_libraries/tink_macro.hxml
Normal file
4
tct-vscode-editor/haxe_libraries/tink_macro.hxml
Normal file
@@ -0,0 +1,4 @@
|
||||
# @install: lix --silent download "haxelib:/tink_macro#1.0.1" into tink_macro/1.0.1/haxelib
|
||||
-lib tink_core
|
||||
-cp ${HAXE_LIBCACHE}/tink_macro/1.0.1/haxelib/src
|
||||
-D tink_macro=1.0.1
|
3
tct-vscode-editor/haxe_libraries/tink_priority.hxml
Normal file
3
tct-vscode-editor/haxe_libraries/tink_priority.hxml
Normal file
@@ -0,0 +1,3 @@
|
||||
-D tink_priority=0.1.3
|
||||
# @install: lix --silent download "gh://github.com/haxetink/tink_priority#ea736d31dc788aae703a2aa415c25d5b80d0e7d1" into tink_priority/0.1.3/github/ea736d31dc788aae703a2aa415c25d5b80d0e7d1
|
||||
-cp ${HAXE_LIBCACHE}/tink_priority/0.1.3/github/ea736d31dc788aae703a2aa415c25d5b80d0e7d1/src
|
6
tct-vscode-editor/haxe_libraries/tink_syntaxhub.hxml
Normal file
6
tct-vscode-editor/haxe_libraries/tink_syntaxhub.hxml
Normal file
@@ -0,0 +1,6 @@
|
||||
# @install: lix --silent download "gh://github.com/haxetink/tink_syntaxhub#b6ea4966bbdee4d176ac8dd5d2d8ae3b362b2f86" into tink_syntaxhub/0.6.0/github/b6ea4966bbdee4d176ac8dd5d2d8ae3b362b2f86
|
||||
-lib tink_macro
|
||||
-lib tink_priority
|
||||
-cp ${HAXE_LIBCACHE}/tink_syntaxhub/0.6.0/github/b6ea4966bbdee4d176ac8dd5d2d8ae3b362b2f86/src
|
||||
-D tink_syntaxhub=0.6.0
|
||||
--macro tink.SyntaxHub.use()
|
4
tct-vscode-editor/haxe_libraries/tink_typecrawler.hxml
Normal file
4
tct-vscode-editor/haxe_libraries/tink_typecrawler.hxml
Normal file
@@ -0,0 +1,4 @@
|
||||
# @install: lix --silent download "haxelib:/tink_typecrawler#0.7.0" into tink_typecrawler/0.7.0/haxelib
|
||||
-lib tink_macro
|
||||
-cp ${HAXE_LIBCACHE}/tink_typecrawler/0.7.0/haxelib/src
|
||||
-D tink_typecrawler=0.7.0
|
3
tct-vscode-editor/haxe_libraries/uuid.hxml
Normal file
3
tct-vscode-editor/haxe_libraries/uuid.hxml
Normal file
@@ -0,0 +1,3 @@
|
||||
# @install: lix --silent download "haxelib:/uuid#2.4.1" into uuid/2.4.1/haxelib
|
||||
-cp ${HAXE_LIBCACHE}/uuid/2.4.1/haxelib/src
|
||||
-D uuid=2.4.1
|
4
tct-vscode-editor/haxe_libraries/vscode.hxml
Normal file
4
tct-vscode-editor/haxe_libraries/vscode.hxml
Normal file
@@ -0,0 +1,4 @@
|
||||
# @install: lix --silent download "haxelib:/vscode#1.60.0" into vscode/1.60.0/haxelib
|
||||
-lib hxnodejs
|
||||
-cp ${HAXE_LIBCACHE}/vscode/1.60.0/haxelib/src
|
||||
-D vscode=1.60.0
|
3
tct-vscode-editor/haxe_libraries/yaml.hxml
Normal file
3
tct-vscode-editor/haxe_libraries/yaml.hxml
Normal file
@@ -0,0 +1,3 @@
|
||||
# @install: lix --silent download "haxelib:/yaml#2.0.1" into yaml/2.0.1/haxelib
|
||||
-cp ${HAXE_LIBCACHE}/yaml/2.0.1/haxelib/
|
||||
-D yaml=2.0.1
|
2157
tct-vscode-editor/package-lock.json
generated
Normal file
2157
tct-vscode-editor/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"main": "bin/extension.js",
|
||||
"name": "",
|
||||
"name": "tct-vscode-editor",
|
||||
"description": "",
|
||||
"repository": {
|
||||
"url": "",
|
||||
@@ -19,5 +19,8 @@
|
||||
},
|
||||
"version": "0.0.0",
|
||||
"activationEvents": [],
|
||||
"displayName": ""
|
||||
}
|
||||
"displayName": "",
|
||||
"dependencies": {
|
||||
"monaco-editor": "^0.38.0"
|
||||
}
|
||||
}
|
||||
|
9
tct-vscode-editor/src/Editor.hx
Normal file
9
tct-vscode-editor/src/Editor.hx
Normal file
@@ -0,0 +1,9 @@
|
||||
import kiss.Prelude;
|
||||
import kiss.List;
|
||||
|
||||
import vscode.*;
|
||||
|
||||
using StringTools;
|
||||
|
||||
@:build(kiss.Kiss.build())
|
||||
class Editor {}
|
0
tct-vscode-editor/src/Editor.kiss
Normal file
0
tct-vscode-editor/src/Editor.kiss
Normal file
Reference in New Issue
Block a user