# This is not run by CIs, just for convenience when testing manually.

# Compile everything first.
compile.hxml

# Install Dependencies
# --next
# --cmd luarocks install haxe-deps 0.0.1-6
# --cmd npm install deasync

# Mac/Linux
--next
--cmd echo Neko   && export EXISTS=1 && neko bin/neko/sys.n
--cmd echo Python && export EXISTS=1 && python3 bin/python/sys.py
--cmd echo Cpp    && export EXISTS=1 && bin/cpp/Main-debug
--cmd echo Java   && export EXISTS=1 && java -jar bin/java/Main-Debug.jar
--cmd echo Php    && export EXISTS=1 && php bin/php/Main/index.php
--cmd echo Hl     && export EXISTS=1 && hl bin/hl/sys.hl
--cmd echo Js     && export EXISTS=1 && node bin/js/sys.js
--cmd echo Lua    && export EXISTS=1 && lua bin/sys.lua
--cmd echo Macro  && export EXISTS=1 && haxe compile-macro.hxml

# Windows
# --next
# --cmd echo Neko   && set EXISTS=1 && neko bin\neko\sys.n
# --cmd echo Python && set EXISTS=1 && python3 bin\python\sys.py
# --cmd echo Cpp    && set EXISTS=1 && bin\cpp\Main-debug.exe
# --cmd echo Java   && set EXISTS=1 && java -jar bin\java\Main-Debug.jar
# --cmd echo Php    && set EXISTS=1 && php -c ..\PHP.ini bin\php\Main\index.php
# --cmd echo Hl     && set EXISTS=1 && hl bin/hl/sys.hl
# --cmd echo Js     && set EXISTS=1 && node bin/js/sys.js
# --cmd echo Lua    && set EXISTS=1 && lua bin/lua/sys.lua
# --cmd echo Macro  && set EXISTS=1 && haxe compile-macro.hxml
