Permalink
Browse files

Reduced some of the coverage noise from componentbuilds. echos now ha…

…ve info, and we don't lint coverage files (for now)
  • Loading branch information...
1 parent 8567905 commit 1358f0cfb435fc47f68b79446573d14e4235f53d @sdesai sdesai committed Aug 15, 2012
Showing with 3 additions and 8 deletions.
  1. +3 −8 componentbuild/shared/targets.xml
@@ -78,7 +78,7 @@
<target name="build" />
<target name="build-coverage" unless="coverage.skip">
- <echo>Creating coverage file for: ${component.builddir}/${component.basefilename}.js</echo>
+ <echo level="info">Creating coverage file for: ${component.builddir}/${component.basefilename}.js</echo>
<yuicoverage src="${component.builddir}/${component.basefilename}.js" dest="${component.builddir}/${component.basefilename}-coverage.js" />
<move file="${component.builddir}/${component.basefilename}-coverage.js" tofile="${component.builddir}/${component.basefilename}-coverage.js.tmp" />
@@ -116,20 +116,15 @@
<!-- Lint all files -->
<jslint>
<jsfiles>
- <fileset dir="${component.builddir}" includes="*.js" />
+ <fileset dir="${component.builddir}" includes="*.js" excludes="*-coverage.js" />
</jsfiles>
</jslint>
</then>
<else>
<!-- Only lint raw files -->
<jslint>
<jsfiles>
- <fileset dir="${component.builddir}" includes="*.js">
- <none>
- <filename name="*-debug.js"/>
- <filename name="*-min.js"/>
- </none>
- </fileset>
+ <fileset dir="${component.builddir}" includes="*.js" excludes="*-coverage.js, *-debug.js, *-min.js" />
</jsfiles>
</jslint>
</else>

0 comments on commit 1358f0c

Please sign in to comment.