move target hxmls away from root

This commit is contained in:
Nemo 2024-01-08 10:53:49 +05:30
parent 28d3191077
commit 4882c0c09b
5 changed files with 8 additions and 6 deletions

View File

@ -4,10 +4,14 @@ rm -f haxe-build.zip
zip -r haxe-build.zip src LICENSE *.md *.json *.hxml
# Java
# TODO: Directly generate JAR from haxe
javac -cp src src/eci/*.java -d build/
jar -cf epicqr-release.jar build/*
# PHP
haxe php.hxml
haxe _targets/php.hxml
sed -i '/^use/d' src/eci/*.php
sed -i '/^Boot::/d' src/eci/*.php
sed -i '/^Boot::/d' src/eci/*.php
# Node.js
haxe _targets/nodejs.hxml

View File

@ -2,8 +2,7 @@
eci.EpicQR
-L crypto
-w -WDeprecatedEnumAbstract
-js bin/lib.js
-js src/lib.js
--dce full
--macro keep('eci.EpicQR')
--macro keep('eci.Result')
--verbose
--macro keep('eci.Result')

View File

@ -2,6 +2,5 @@
eci.EpicQR
-L crypto
-w -WDeprecatedEnumAbstract
# -js bin/lib.js
--java src/
-D source-map