mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-26 13:37:03 +00:00
47 lines
1.7 KiB
XML
47 lines
1.7 KiB
XML
<?xml version = "1.0"?>
|
|
<project name = "cplutil" default = "build" basedir = "." >
|
|
|
|
<import file = "../../common.xml" />
|
|
|
|
<property name = "Build.Products" location = "${Build}/cplutil.build/${Configuration}" />
|
|
<property name = "Build.cplutil" location = "${Build}/${Configuration}/cplutil" />
|
|
<property name = "Build.cplutil.bin" location = "${Build}/${Configuration}/cplutil/bin" />
|
|
<property name = "Build.cplutil.lib" location = "${Build}/${Configuration}/cplutil/lib" />
|
|
|
|
<target name = "clean">
|
|
<delete dir = "${Build.cplutil}" verbose = "true" />
|
|
<delete dir = "${Build.Products}" verbose = "true" />
|
|
</target>
|
|
|
|
<target name = "build">
|
|
|
|
<mkdir dir = "${Build.Products}" />
|
|
|
|
<concat destfile = "${Build.Products}/cplutil.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}/cplutil.js" />
|
|
</filelist>
|
|
</concat>
|
|
|
|
<mkdir dir = "${Build.cplutil}" />
|
|
|
|
<jsc>
|
|
<arguments>
|
|
<arg line = "-o cplutil.class" />
|
|
<arg value = "-nosource" />
|
|
<arg value = "${Build.Products}/cplutil.js" />
|
|
</arguments>
|
|
</jsc>
|
|
|
|
<move file = "${Build.Products}/cplutil.class" tofile = "${Build.cplutil}/cplutil.class" />
|
|
|
|
<copy file = "cplutil" tofile = "${Build.cplutil.bin}/cplutil" />
|
|
<copy file = "${Build.cplutil}/cplutil.class" tofile = "${Build.cplutil.lib}/cplutil.class" />
|
|
|
|
</target>
|
|
|
|
</project>
|