Skip to content

Commit

Permalink
add: lix for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aemorax committed Mar 4, 2024
1 parent 119597b commit 9bcdaea
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
out/*

node_modules/*
4 changes: 4 additions & 0 deletions .haxerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"version": "4.3.3",
"resolveLibs": "scoped"
}
3 changes: 3 additions & 0 deletions haxe_libraries/ansi.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @install: lix --silent download "haxelib:/ansi#1.0.0" into ansi/1.0.0/haxelib
-cp ${HAXE_LIBCACHE}/ansi/1.0.0/haxelib/src
-D ansi=1.0.0
3 changes: 3 additions & 0 deletions haxe_libraries/tink_core.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @install: lix --silent download "haxelib:/tink_core#2.1.1" into tink_core/2.1.1/haxelib
-cp ${HAXE_LIBCACHE}/tink_core/2.1.1/haxelib/src
-D tink_core=2.1.1
4 changes: 4 additions & 0 deletions haxe_libraries/tink_macro.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# @install: lix --silent download "haxelib:/tink_macro#1.0.3" into tink_macro/1.0.3/haxelib
-lib tink_core
-cp ${HAXE_LIBCACHE}/tink_macro/1.0.3/haxelib/src
-D tink_macro=1.0.3
3 changes: 3 additions & 0 deletions haxe_libraries/tink_priority.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @install: lix --silent download "haxelib:/tink_priority#0.1.4" into tink_priority/0.1.4/haxelib
-cp ${HAXE_LIBCACHE}/tink_priority/0.1.4/haxelib/src
-D tink_priority=0.1.4
6 changes: 6 additions & 0 deletions haxe_libraries/tink_streams.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# @install: lix --silent download "haxelib:/tink_streams#0.4.0" into tink_streams/0.4.0/haxelib
-lib tink_core
-cp ${HAXE_LIBCACHE}/tink_streams/0.4.0/haxelib/src
-D tink_streams=0.4.0
# temp for development, delete this file when pure branch merged
-D pure
6 changes: 6 additions & 0 deletions haxe_libraries/tink_syntaxhub.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# @install: lix --silent download "haxelib:/tink_syntaxhub#0.6.1" into tink_syntaxhub/0.6.1/haxelib
-lib tink_macro
-lib tink_priority
-cp ${HAXE_LIBCACHE}/tink_syntaxhub/0.6.1/haxelib/src
-D tink_syntaxhub=0.6.1
--macro tink.SyntaxHub.use()
6 changes: 6 additions & 0 deletions haxe_libraries/tink_testrunner.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# @install: lix --silent download "haxelib:/tink_testrunner#0.9.0" into tink_testrunner/0.9.0/haxelib
-lib ansi
-lib tink_macro
-lib tink_streams
-cp ${HAXE_LIBCACHE}/tink_testrunner/0.9.0/haxelib/src
-D tink_testrunner=0.9.0
6 changes: 6 additions & 0 deletions haxe_libraries/tink_unittest.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# @install: lix --silent download "haxelib:/tink_unittest#0.8.0" into tink_unittest/0.8.0/haxelib
-lib tink_syntaxhub
-lib tink_testrunner
-cp ${HAXE_LIBCACHE}/tink_unittest/0.8.0/haxelib/src
-D tink_unittest=0.8.0
--macro tink.unit.AssertionBufferInjector.use()
26 changes: 26 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"devDependencies": {
"lix": "^15.12.0"
},
"scripts": {
"postinstall": "lix download"
}
}

0 comments on commit 9bcdaea

Please # to comment.