I tried to run a project using custom build in FlashDevelop:
, 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?
#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\
-cmd line and attempts to run
cp -R assets bin\js\, which will fail because windows doesn't have
cp, it has
For Windows, try changing the last two lines to something like:
#copy assets directory -cmd copy \y assets bin\js\
** Disclaimer: I'm not in Windows at the moment, so am not certain about the exact syntax of the Copy command. But you get the idea.