Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moving tasks around

  • Loading branch information...
commit c786859eb9a888182b1a79f6010edd31e3877fde 1 parent 9f94e2c
Dav Glass davglass authored
7 componentbuild/3.x/module.xml
View
@@ -5,7 +5,7 @@
<dirname property="module.basedir" file="${ant.file.YuiModuleTargets}"/>
<import file="${module.basedir}/../shared/targets.xml" description="Targets common to Rollup/Module" />
- <target name="build" depends="buildcore, -rollupjs, buildskins, buildlangs, build-coverage" />
+ <target name="build" depends="buildcore, -rollupjs, buildskins, buildlangs" />
<target name="buildskins" depends="-buildskins, -rollupcss" />
<target name="buildlangs" depends="-buildlangs, -rolluplangs" />
@@ -27,11 +27,6 @@
flags="${component.logger.regex.flags}" />
</target>
- <target name="build-coverage" unless="coverage.skip">
- <echo>Creating coverage file for: ${component.builddir}/${component.basefilename}.js</echo>
- <yuicoverage src="${component.builddir}/${component.basefilename}.js" dest="${component.builddir}/${component.basefilename}-coverage.js" />
- </target>
-
<!-- DEBUG -->
<target name="builddebug" depends="-concatdebug, -registerdebug, -prependdebug, -appenddebug" description="Create component-debug.js">
<fixcrlf srcdir="${component.builddir}" includes="${component.basefilename}-debug.js" eol="${buildfiles.eol}" />
7 componentbuild/shared/targets.xml
View
@@ -77,8 +77,13 @@
<target name="build" />
+ <target name="build-coverage" unless="coverage.skip">
+ <echo>Creating coverage file for: ${component.builddir}/${component.basefilename}.js</echo>
+ <yuicoverage src="${component.builddir}/${component.basefilename}.js" dest="${component.builddir}/${component.basefilename}-coverage.js" />
+ </target>
+
<!-- MIN -->
- <target name="minify" description="Create component-min.js from component.js">
+ <target name="minify" description="Create component-min.js from component.js" depends="build-coverage">
<yuicompress src="${component.builddir}/${component.basefilename}.js" dest="${component.builddir}/${component.basefilename}-min.js" args="${yuicompressor.js.args.internal}" />
<if>
<available file="${component.builddir}/lang" type="dir" />
Please sign in to comment.
Something went wrong with that request. Please try again.