mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-26 13:37:03 +00:00
49 lines
1.8 KiB
XML
49 lines
1.8 KiB
XML
<?xml version = "1.0"?>
|
|
<project name = "steam" default = "build" basedir = "." >
|
|
|
|
<import file = "../../common.xml" />
|
|
|
|
<property name = "Build.Intermediate" location = "${Build}/steam.build/${Configuration}" />
|
|
<property name = "Build.steam" location = "${Build}/${Configuration}/steam" />
|
|
<property name = "Build.steam.bin" location = "${Build.steam}/bin" />
|
|
<property name = "Build.steam.lib" location = "${Build.steam}/lib" />
|
|
|
|
<target name = "clean">
|
|
<delete dir = "${Build.steam}" verbose = "true" />
|
|
</target>
|
|
|
|
<target name = "build">
|
|
|
|
<mkdir dir = "${Build.steam}" />
|
|
|
|
<copy file = "${basedir}/sjheader.txt" tofile = "${Build.steam.lib}/sjheader.txt" />
|
|
|
|
<copy file = "${basedir}/steam" tofile = "${Build.steam.bin}/steam" />
|
|
|
|
<copy file = "${basedir}/steam.xml" tofile = "${Build.steam.lib}/steam.xml" />
|
|
|
|
<copy file = "${basedir}/htaccess" tofile = "${Build.steam.lib}/htaccess" />
|
|
|
|
<concat destfile = "${Build.Intermediate}/steam.js">
|
|
<filelist>
|
|
<file name="${basedir}/../Utilities/bridge.js" />
|
|
<file name="${basedir}/../Utilities/regex-bridge.js" />
|
|
<file name="${Build}/Objective-J.build/\${Configuration}/Rhino/Objective-J.js" />
|
|
<file name="${basedir}/steam.js" />
|
|
</filelist>
|
|
</concat>
|
|
|
|
<jsc>
|
|
<arguments>
|
|
<arg line = "-o steam.class" />
|
|
<arg value = "-nosource" />
|
|
<arg value = "${Build.Intermediate}/steam.js" />
|
|
</arguments>
|
|
</jsc>
|
|
|
|
<move file = "${Build.Intermediate}/steam.class" tofile = "${Build.steam.lib}/steam.class" />
|
|
|
|
</target>
|
|
|
|
</project>
|