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\
"cp ./data/orig-db.json ./data/db.json && json-server --watch ./data/db.json"
to this-->"copy .\\data\\orig-db.json .\\data\\db.json && json-server --watch .\\data\\db.json"
– Vesicate