flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [22/38] git commit: [flex-utilities] [refs/heads/master] - Improve clean and don't include squiggly stuff in source release
Date Wed, 30 Mar 2016 05:13:52 GMT
Improve clean and don't include squiggly stuff in source release


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

Branch: refs/heads/master
Commit: 31a6e91c332c9042b8c7adad614586746b72cabe
Parents: 5b19450
Author: Justin Mclean <jmclean@apache.org>
Authored: Sat Nov 1 08:29:18 2014 +1100
Committer: Justin Mclean <jmclean@apache.org>
Committed: Sat Nov 1 08:29:18 2014 +1100

----------------------------------------------------------------------
 TourDeFlex/TourDeFlex3/build.xml | 43 +++++++++++++++++++++++------------
 1 file changed, 28 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/31a6e91c/TourDeFlex/TourDeFlex3/build.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/build.xml b/TourDeFlex/TourDeFlex3/build.xml
index b29e8ab..135b58c 100644
--- a/TourDeFlex/TourDeFlex3/build.xml
+++ b/TourDeFlex/TourDeFlex3/build.xml
@@ -498,6 +498,24 @@
     	<unzip dest="${unpack.dir}" src="${download.dir}/${squiggly.file}" />
 	</target>
 	
+	<target name="copy-squiggly-dicts">
+		<!-- So squiggly works in Tour De Flex app -->
+		<mkdir dir="${basedir}/dictionaries"/>
+		<copy todir="${basedir}/dictionaries">
+			<fileset dir="${unpack.dir}/dictionaries/">
+				<include name="**" />
+			</fileset>
+		</copy>
+
+		<!-- So squiggly works stand alone -->
+		<mkdir dir="${basedir}/src/apache/squiggly/dictionaries"/>
+		<copy todir="${basedir}/src/apache/squiggly/dictionaries/">
+			<fileset dir="${unpack.dir}/dictionaries/">
+				<include name="**" />
+			</fileset>
+		</copy>
+	</target>
+	
     <target name="squiggly-download" depends="squiggly-check" unless="sqigggly.present"
description="Downloads squiggly SDK">
     	
     	<mkdir dir="${download.dir}"/>
@@ -522,21 +540,7 @@
     		</fileset>
     	</copy>
     	
-    	<!-- So squiggly works in Tour De Flex app -->
-    	<mkdir dir="dictionaries"/>
-    	<copy todir="dictionaries">
-    		<fileset dir="${unpack.dir}/dictionaries">
-    			<include name="*.*" />
-    		</fileset>
-    	</copy>
-    	
-    	<!-- So squiggly works stand alone -->
-    	<mkdir dir="dictionaries"/>
-    	<copy todir="dictionaries">
-    		<fileset dir="${unpack.dir}/dictionaries">
-    			<include name="*.*" />
-    		</fileset>
-    	</copy>
+		<ant target="copy-squiggly-dicts" />
     </target>
 		
 	<target name="package" description="package up all source files" depends="package-dir,package-tar,package-zip">
@@ -576,6 +580,9 @@
                 <include name="**/*.xml" />
             	<exclude name="**/*.swf" />
             	<exclude name="installer.xml" />
+            	<exclude name="squiggly" />
+            	<exclude name="dictionaries" />
+            	<exclude name="src/apache/squiggly/dictionaries" />
              </tarfileset>
          </tar>
 	</target>
@@ -607,6 +614,9 @@
                 <include name="**/*.xml" />
                 <exclude name="**/*.swf" />
             	<exclude name="installer.xml" />
+            	<exclude name="squiggly" />
+            	<exclude name="dictionaries" />
+            	<exclude name="src/apache/squiggly/dictionaries" />
              </fileset>
          </zip>
 	</target>
@@ -615,5 +625,8 @@
     	<delete>
     		<fileset dir="${basedir}" includes="**/*.swf" />
     	</delete>
+    	<delete dir="${basedir}/squiggly" />
+    	<delete dir="${basedir}/dictionaries" />
+    	<delete dir="${basedir}/src/apache/squiggly/dictionaries" />
     </target>
 </project>


Mime
View raw message