Permalink
Browse files

Add creation of distributable zip package to build script

  • Loading branch information...
1 parent a59e3cd commit d62b0c90fd95b78565fc14d1e175ea9fb1caf0fb Jason Johnston committed May 26, 2010
Showing with 8 additions and 1 deletion.
  1. +8 −1 build.xml
View
@@ -5,6 +5,10 @@
<property name="build_dir" value="./build" />
<property name="src_dir" value="./sources" />
+ <target name="clean">
+ <delete dir="${build_dir}" />
+ </target>
+
<target name="package-uncompressed">
<mkdir dir="${build_dir}" />
<concat destfile="${build_dir}/script_uncompressed.js">
@@ -76,6 +80,9 @@
</target>
- <target name="package" depends="package-uncompressed,package-compressed,copy-wrappers" />
+ <target name="package" depends="package-uncompressed,package-compressed,copy-wrappers">
+ <!-- Create distribution bundle -->
+ <zip destfile="${build_dir}/PIE.zip" basedir="${build_dir}"/>
+ </target>
</project>

0 comments on commit d62b0c9

Please sign in to comment.