COMMUNITY

Haxe build.hxml " Error: : unknown option '--php-prefix'. " cn i use prefix in new version of haxe? (4.0.5)

was using this build.xml


-cmd rm -rf bin

--next

#-dce full
-cp src
-main Main
-php bin
-D php7
-D real-position
--php-prefix MyCustomPrefixHere

# build module
-cmd rm bin/index.php
-cmd composer -o dump-autoload

It’s changed to -D php-prefix=myCustomPrefixHere:

1 Like