mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-27 14:07:03 +00:00
42 lines
1.4 KiB
XML
42 lines
1.4 KiB
XML
<?xml version = "1.0"?>
|
|
<project name = "objjc" default = "build" basedir = "." >
|
|
|
|
<import file = "../../../common.xml" />
|
|
|
|
<property name = "Build.Products" location = "${Build}/objjc.build/${Configuration}" />
|
|
|
|
<target name = "clean">
|
|
<delete dir = "${Build.Products}" verbose = "true" />
|
|
</target>
|
|
|
|
<target name = "build">
|
|
|
|
<mkdir dir = "${Build.Products}" />
|
|
|
|
<concat destfile = "${Build.Products}/main-concat.js">
|
|
<filelist>
|
|
<file name="${Checkout}/Tools/Utilities/bridge.js" /> <!-- ??? -->
|
|
<file name="${Checkout}/Tools/Utilities/regex-bridge.js" />
|
|
<file name="${Build}/Objective-J.build/\${Configuration}/Rhino/Objective-J.js" />
|
|
<file name="${basedir}/main.js" />
|
|
</filelist>
|
|
</concat>
|
|
|
|
<jsc>
|
|
<arguments>
|
|
<arg line = "-o main.class" />
|
|
<arg value = "-nosource" />
|
|
<arg value = "${Build.Products}/main-concat.js" />
|
|
</arguments>
|
|
</jsc>
|
|
|
|
<copy file = "${Build.Products}/main.class" tofile = "${PATH.SYSTEM.LIB}/objjc/main.class" />
|
|
<copy file = "../executable" tofile = "${PATH.SYSTEM.BIN}/objjc" />
|
|
|
|
<!-- Isn't this taken care of? -->
|
|
<copy file = "shrinksafe.jar" tofile = "${PATH.SYSTEM.LIB}/objjc/shrinksafe.jar" />
|
|
|
|
</target>
|
|
|
|
</project>
|