You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/09/08 08:39:32 UTC

[5/5] git commit: [flex-asjs] [refs/heads/develop] - tweak approval script

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 <ah...@apache.org>
Authored: Mon Sep 7 23:39:47 2015 -0700
Committer: Alex Harui <ah...@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>