I tried to run a project using custom build in FlashDevelop:
$(CompilerPath)\haxe.exe $(ProjectDir)\compile-js.hxml
, but I get this error:
'cp' is not recognized as an internal or external command,
here is the compile-js.hxml file, is there any idea how to solve this?
compile-js.hxml
#sources
-main Cocktail
-cp ../../src/
-cp src
#binary
-js bin/js/Main.js
--macro Cocktail.create('src/index.html','Main')
#copy assets directory
-cmd cp -R assets bin\js\
if you're running on windows you have to replace "cp" with "copy"