class Build { public static function main() { var HXSERVLET = "hxServlet"; var CLIENTAPP = "dev/haxe/web/html/index.swf"; var CLIENTSRC = "dev/haxe/client"; var ACTIONCONTROLLER = "dev/web/controllers/ActionCtrl.n"; var ACTIONSRC = "dev/haxe/server/command"; Task.define("client",{ targets:[CLIENTAPP], files:[Task.find(CLIENTSRC,"*.hx")], action: function() { Task.build(CLIENTSRC); }, }) ; Task.define("hxServlet",{ targets:[HXSERVLET+"/run.n"], files:[Task.find(HXSERVLET,"*.hx")], action: function() { Task.build(HXSERVLET); }, }) ; Task.define("actionServer",{ targets:[ACTIONCONTROLLER], files:[Task.find(ACTIONSRC,"*.hx")], action: function() { Task.build(ACTIONSRC); } }); Task.define("eventServer",{ noop:"noop" }); Task.define("fileServer",{ noop:"noop" }); Task.define("cars", { tasks:["client","hxServlet","actionServer","eventServer","fileServer"], action: function() { trace("finished"); } }); Task.start("cars"); }