flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [5/5] git commit: [flex-asjs] [refs/heads/develop] - tweak approval script
Date Tue, 08 Sep 2015 06:39:32 GMT
tweak approval script


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/91e3f12c
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/91e3f12c
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/91e3f12c

Branch: refs/heads/develop
Commit: 91e3f12c8100499db2924d5b1f67e84578fcd895
Parents: fc1b0d0
Author: Alex Harui <aharui@apache.org>
Authored: Mon Sep 7 23:39:47 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Sep 7 23:39:47 2015 -0700

----------------------------------------------------------------------
 ApproveFlexJS.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91e3f12c/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index d9682f6..5a3736e 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -277,7 +277,11 @@
                 <exclude name="**/*.jpg"/>
                 <exclude name="**/*.mp3"/>
                 <exclude name="**/*.flv"/>
+                <!--          JSON doesn't really have a comment format     -->
+                <exclude name="**/*.json"/>
+                <!--          JSHint properties file           -->
                 <exclude name="frameworks/js/jshint.properties"/>
+                <exclude name="frameworks/js/.jshintrc"/>
             </fileset>
         </rat:report>
 		<antcall target="display-text" >
@@ -290,7 +294,8 @@
         addproperty="rat.license.ok"/>
 		<echo>filtering out AL files to make it easier to see binary files</echo>
 		<copy file="${rat.report}" tofile="${rat.report}.bin.txt" />
-		<replaceregexp file="${rat.report}.bin.txt" match="..AL.*" replace="" byline="true"/>
+        <replaceregexp file="${rat.report}.bin.txt" match="..AL.*" replace="__AL" byline="true"/>
+        <replaceregexp file="${rat.report}.bin.txt" flags="gs" match="__AL." replace=""
byline="false"/>
 		<antcall target="display-text" >
             <param name="file" value="${rat.report}.bin.txt" />
         </antcall>


Mime
View raw message