-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.fbxml
39 lines (39 loc) · 1.29 KB
/
project.fbxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!--<fbuilder always-on-top="false" taskbar="true" stick-edge="50">-->
<fbuilder>
<target name="hss" color="#FFFF00"><![CDATA[
execute( "hss.exe", [ "-output", "www/css/", "src/hss/default.hss" ] );
]]></target>
<target name="templo" color="#00FF00"><![CDATA[
var err = "";
var out = "";
for( i in [ "login", "shell", "news", "media", "album", "picture", "live" ] ){
var p = new sys.io.Process( "temploc2.exe", [ i + ".mtt", "-cp", "src/mtt", "-output", "www/tpl", "-macros", "macro.mtt" ] );
out += p.stdout.readAll().toString();
err += p.stderr.readAll().toString();
}
{ out : out, err : err }
]]></target>
<target name="neko" color="#FF0000"><![CDATA[
execute( "haxe", [ "neko.hxml" ] );
]]></target>
<target name="js" color="#0000FF"><![CDATA[
execute( "haxe", [ "js.hxml" ] );
]]></target>
<target name="notepad" color="#FF00FF"><![CDATA[
command( "c:/Windows/notepad.exe", [] );
]]></target>
<target name="test" color="#FFFFFF"><![CDATA[
"The last line in the script is the console output ! :)";
]]></target>
<target name="test2" color="#999999"><![CDATA[
var rd = sys.FileSystem.readDirectory( "." );
var a = [];
for( i in rd ){
if( StringTools.endsWith( i, ".log" ) ){
sys.io.File.copy( i, "_old_" + i );
a.push( i );
}
}
a;
]]></target>
</fbuilder>