flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject git commit: [flex-utilities] [refs/heads/develop] - Add zip package target
Date Fri, 08 Aug 2014 06:49:20 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop d0becb1f2 -> 2973c34ff


Add zip package target


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/2973c34f
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/2973c34f
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/2973c34f

Branch: refs/heads/develop
Commit: 2973c34fff6f5fb968bbd17273294a3374a060ac
Parents: d0becb1
Author: Justin Mclean <jmclean@apache.org>
Authored: Fri Aug 8 16:49:09 2014 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Fri Aug 8 16:49:09 2014 +1000

----------------------------------------------------------------------
 TourDeFlex/TourDeFlex3/build.xml | 36 +++++++++++++++++++++++++++++++++--
 1 file changed, 34 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/2973c34f/TourDeFlex/TourDeFlex3/build.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/build.xml b/TourDeFlex/TourDeFlex3/build.xml
index b7d05fd..81b5048 100644
--- a/TourDeFlex/TourDeFlex3/build.xml
+++ b/TourDeFlex/TourDeFlex3/build.xml
@@ -179,9 +179,15 @@
 		<compile-mxml example="/validators/ZipCodeValidatorExample"/>
 	</target>
 	
-	<target name="package" description="package up all source files">
+	<target name="package" description="package up all source files" depends="package-dir,package-tar,package-zip">
+	</target>
+	
+	<target name="package-dir">
 		<delete dir="${basedir}/out"/>  
-		<mkdir dir="${basedir}/out"/>       
+		<mkdir dir="${basedir}/out"/> 
+	</target>
+		
+	<target name="package-tar" description="tar up all source files">     
         <tar destfile="${basedir}/out/ApacheFlex-TourDeFlex-ComponentExplorer-${version}.tar.gz"

          	compression="gzip"
             longfile="gnu">
@@ -208,6 +214,32 @@
              </tarfileset>
          </tar>
 	</target>
+	
+	<target name="package-zip" description="zip up all source files">    
+        <zip destfile="${basedir}/out/ApacheFlex-TourDeFlex-ComponentExplorer-${version}.zip">
+            <fileset dir="${basedir}/..">
+                <include name="LICENSE" />
+                <include name="NOTICE" />
+            </fileset>
+            <fileset dir="${basedir}">
+                <include name="README" />
+                <include name="RELEASE_NOTES" />
+                <include name="build.xml" />
+                <include name="src/explorer.html" />
+                <include name="src/explorer.xml" />
+                <include name="src/AC_OETags.js" />
+                <include name="**/*.mxml" />
+                <include name="**/*.as" />
+                <include name="**/*.jpg" />
+                <include name="**/*.png" />
+                <include name="**/*.gif" />
+                <include name="**/*.ttf" />
+                <include name="**/*.mp4" />
+                <include name="**/*.mp3" />
+                <exclude name="**/*.swf" />
+             </fileset>
+         </zip>
+	</target>
    
     <target name="clean" description="clean up">
     	<delete>


Mime
View raw message