Skip to content

Commit

Permalink
Changed cssmodule to support component.basefilename
Browse files Browse the repository at this point in the history
  • Loading branch information
sdesai committed Jun 22, 2010
1 parent 61b67a5 commit e6f6c27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions componentbuild/shared/cssmodule.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<target name="build" depends="buildcore" />

<target name="buildcore">
<concatsource destfile="${component.builddir}/${component}.css" sourcedir="${component.basedir}/css" sourcefiles="${component.cssfiles}" />
<concatsource destfile="${component.builddir}/${component.basefilename}.css" sourcedir="${component.basedir}/css" sourcefiles="${component.cssfiles}" />
</target>

<target name="minify">
<yuicompress src="${component.builddir}/${component}.css" dest="${component.builddir}/${component}-min.css" args="${yuicompressor.css.args.internal}" />
<yuicompress src="${component.builddir}/${component.basefilename}.css" dest="${component.builddir}/${component.basefilename}-min.css" args="${yuicompressor.css.args.internal}" />
</target>

<target name="lint">
Expand Down

0 comments on commit e6f6c27

Please sign in to comment.