Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 1358f0cfb435fc47f68b79446573d14e4235f53d 1 parent 8567905
Satyen Desai authored
Showing with 3 additions and 8 deletions.
  1. +3 −8 componentbuild/shared/targets.xml
View
11 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,7 +116,7 @@
<!-- Lint all files -->
<jslint>
<jsfiles>
- <fileset dir="${component.builddir}" includes="*.js" />
+ <fileset dir="${component.builddir}" includes="*.js" excludes="*-coverage.js" />
</jsfiles>
</jslint>
</then>
@@ -124,12 +124,7 @@
<!-- 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>
Please sign in to comment.
Something went wrong with that request. Please try again.