In my .hxml build script, I am defining a “–cmd” to run after building, and I need to pass the dir to the .hxml build script to the command. Is there any kind of variable or something that I can use in the script to get the value?
If there is no way to obtain the directory from within the hxml script itself, I would have to do something like that, but it needs to work on Windows and Linux.
Maybe create a .sh script for Linux and a .bat for Windows where haxe is called, but then I can just run the command afterwards from the shell script itself instead of the hxml. It would just be handy to be able to do this in the hxml and avoid the shell script altogether.