diff --git a/.travis.yml b/.travis.yml index 096bc9f..ed2815c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,14 +15,14 @@ os: env: - HAXE_VERSION=3.4.7 - HAXE_VERSION=edge - + install: - npm i -g lix@15.5.4 - lix install haxe $HAXE_VERSION - lix download script: - - lix run travix node -lib hx3compat + - lix run travix node jobs: include: diff --git a/haxe_libraries/hx3compat.hxml b/haxe_libraries/hx3compat.hxml index b85d8f5..72d031e 100644 --- a/haxe_libraries/hx3compat.hxml +++ b/haxe_libraries/hx3compat.hxml @@ -1,3 +1,3 @@ --D hx3compat=1.0.0 -# @install: lix --silent download "haxelib:/hx3compat#1.0.0" into hx3compat/1.0.0/haxelib --cp ${HAXE_LIBCACHE}/hx3compat/1.0.0/haxelib/std +# @install: lix --silent download "haxelib:/hx3compat#1.0.3" into hx3compat/1.0.3/haxelib +-cp ${HAXE_LIBCACHE}/hx3compat/1.0.3/haxelib/std +-D hx3compat=1.0.3 diff --git a/haxe_libraries/hxnodejs.hxml b/haxe_libraries/hxnodejs.hxml index 5546c86..3c20092 100644 --- a/haxe_libraries/hxnodejs.hxml +++ b/haxe_libraries/hxnodejs.hxml @@ -1,6 +1,6 @@ -# @install: lix --silent download "haxelib:hxnodejs#4.0.9" into hxnodejs/4.0.9/haxelib --D hxnodejs=4.0.9 --cp ${HAXESHIM_LIBCACHE}/hxnodejs/4.0.9/haxelib/src --D nodejs +# @install: lix --silent download "haxelib:/hxnodejs#12.0.0" into hxnodejs/12.0.0/haxelib +-cp ${HAXE_LIBCACHE}/hxnodejs/12.0.0/haxelib/src +-D hxnodejs=12.0.0 --macro allowPackage('sys') ---macro _hxnodejs.VersionWarning.include() +# should behave like other target defines and not be defined in macro context +--macro define('nodejs') diff --git a/tests.hxml b/tests.hxml index c3351af..58dcb15 100644 --- a/tests.hxml +++ b/tests.hxml @@ -1,2 +1,3 @@ -cp tests +-lib hx3compat -main Run \ No newline at end of file