template use new awaitLet error handling
This commit is contained in:
4
template/.haxerc
Normal file
4
template/.haxerc
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"version": "4.3.1",
|
||||
"resolveLibs": "scoped"
|
||||
}
|
5
template/haxe_libraries/haxe-strings.hxml
Normal file
5
template/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
template/haxe_libraries/hscript.hxml
Normal file
5
template/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
template/haxe_libraries/hxnodejs.hxml
Normal file
7
template/haxe_libraries/hxnodejs.hxml
Normal file
@@ -0,0 +1,7 @@
|
||||
# @install: lix --silent download "haxelib:/hxnodejs#12.1.0" into hxnodejs/12.1.0/haxelib
|
||||
-cp ${HAXE_LIBCACHE}/hxnodejs/12.1.0/haxelib/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
template/haxe_libraries/kiss-vscode-api.hxml
Normal file
8
template/haxe_libraries/kiss-vscode-api.hxml
Normal file
@@ -0,0 +1,8 @@
|
||||
# @install: lix --silent download "gh://github.com/kiss-lang/kiss-vscode-api#e39eec9a292fcee9dfe4b5f61e3b2ce9bf71c752" into kiss-vscode-api/0.0.0/github/e39eec9a292fcee9dfe4b5f61e3b2ce9bf71c752
|
||||
# @run: haxelib run-dir kiss-vscode-api "${HAXE_LIBCACHE}/kiss-vscode-api/0.0.0/github/e39eec9a292fcee9dfe4b5f61e3b2ce9bf71c752"
|
||||
-lib hxnodejs
|
||||
-lib kiss
|
||||
-lib re-flex
|
||||
-lib vscode
|
||||
-cp ${HAXE_LIBCACHE}/kiss-vscode-api/0.0.0/github/e39eec9a292fcee9dfe4b5f61e3b2ce9bf71c752/src/
|
||||
-D kiss-vscode-api=0.0.0
|
12
template/haxe_libraries/kiss.hxml
Normal file
12
template/haxe_libraries/kiss.hxml
Normal file
@@ -0,0 +1,12 @@
|
||||
# @install: lix --silent download "gh://github.com/kiss-lang/kiss#ff5e5f4790e8f80f39b330a499f4409257cb44d7" into kiss/0.0.1/github/ff5e5f4790e8f80f39b330a499f4409257cb44d7
|
||||
# @run: haxelib run-dir kiss "${HAXE_LIBCACHE}/kiss/0.0.1/github/ff5e5f4790e8f80f39b330a499f4409257cb44d7"
|
||||
-lib haxe-strings
|
||||
-lib hscript
|
||||
-lib tink_json
|
||||
-lib tink_macro
|
||||
-lib tink_syntaxhub
|
||||
-lib uuid
|
||||
-cp ${HAXE_LIBCACHE}/kiss/0.0.1/github/ff5e5f4790e8f80f39b330a499f4409257cb44d7/src
|
||||
-D kiss=0.0.1
|
||||
-w -WUnusedPattern
|
||||
--macro kiss.KissFrontend.use()
|
3
template/haxe_libraries/tink_core.hxml
Normal file
3
template/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
template/haxe_libraries/tink_json.hxml
Normal file
4
template/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
template/haxe_libraries/tink_macro.hxml
Normal file
4
template/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
template/haxe_libraries/tink_priority.hxml
Normal file
3
template/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
template/haxe_libraries/tink_syntaxhub.hxml
Normal file
6
template/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
template/haxe_libraries/tink_typecrawler.hxml
Normal file
4
template/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
template/haxe_libraries/uuid.hxml
Normal file
3
template/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,6 +4,8 @@
|
||||
@(:expose "activate")
|
||||
(function activate [:ExtensionContext context]
|
||||
(printThroughInfoMessage)
|
||||
(awaitLetCatchThroughErrorMessage)
|
||||
|
||||
// Add your extension's commands here with (defCommand <...>):
|
||||
// (defCommand context exampleCommand "An example command for your extension" "C-; C-1" [] (doSomething))
|
||||
|
||||
|
Reference in New Issue
Block a user