# The build file compiles the haXe source to the targets, and then copies # the output to a web accessible directory. Simply modify the commented # -cmd code with an appropriate directory, and then un-comment it. # (I have the output directed to a haxe_demo folder in my Sites folder on OSX) #build swf stage -cp src -main Demo2 -swf9 deploy/demo.swf #-cmd cp deploy/demo.swf ~/Sites/haxe_demo/demo.swf #build javascript stage --next -cp src -main Demo2 -js deploy/demo.js #-cmd cp deploy/demo.js ~/Sites/haxe_demo/demo.js #build php stage --next -cp src -main Demo2 -php deploy/haxe_demo #-cmd cp -r deploy/haxe_demo ~/Sites/ #-cmd open http://127.0.0.1/~jjdonald/haxe_demo