Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Commit

Permalink
Moving tasks around
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Aug 8, 2012
1 parent 9f94e2c commit c786859
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 1 addition & 6 deletions componentbuild/3.x/module.xml
Expand Up @@ -5,7 +5,7 @@
<dirname property="module.basedir" file="${ant.file.YuiModuleTargets}"/> <dirname property="module.basedir" file="${ant.file.YuiModuleTargets}"/>
<import file="${module.basedir}/../shared/targets.xml" description="Targets common to Rollup/Module" /> <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="buildskins" depends="-buildskins, -rollupcss" />
<target name="buildlangs" depends="-buildlangs, -rolluplangs" /> <target name="buildlangs" depends="-buildlangs, -rolluplangs" />


Expand All @@ -27,11 +27,6 @@
flags="${component.logger.regex.flags}" /> flags="${component.logger.regex.flags}" />
</target> </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 --> <!-- DEBUG -->
<target name="builddebug" depends="-concatdebug, -registerdebug, -prependdebug, -appenddebug" description="Create component-debug.js"> <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}" /> <fixcrlf srcdir="${component.builddir}" includes="${component.basefilename}-debug.js" eol="${buildfiles.eol}" />
Expand Down
7 changes: 6 additions & 1 deletion componentbuild/shared/targets.xml
Expand Up @@ -77,8 +77,13 @@


<target name="build" /> <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 --> <!-- 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}" /> <yuicompress src="${component.builddir}/${component.basefilename}.js" dest="${component.builddir}/${component.basefilename}-min.js" args="${yuicompressor.js.args.internal}" />
<if> <if>
<available file="${component.builddir}/lang" type="dir" /> <available file="${component.builddir}/lang" type="dir" />
Expand Down

0 comments on commit c786859

Please sign in to comment.