Permalink
Browse files

Added: Build target to build bootstrap styles

  • Loading branch information...
kore committed May 26, 2012
1 parent 54cfa96 commit 75ffafa0744b97b7e548a70f1e036207c1ea92ea
Showing with 29 additions and 0 deletions.
  1. +29 −0 build.xml
View
@@ -10,4 +10,33 @@
-->
<import file="setup/src/main/xml/base.xml" />
+ <target name="style">
+ <copy
+ file="${basedir}/src/config/bootstrap.less"
+ tofile="${basedir}/src/library/twitter/bootstrap/less/variables.less" />
+
+ <exec executable="make" dir="${basedir}/src/library/twitter/bootstrap/">
+ <arg value="-B" />
+ <arg value="build" />
+ <arg value="bootstrap" />
+ </exec>
+
+ <copy todir="${basedir}/src/htdocs/styles">
+ <fileset dir="${basedir}/src/library/twitter/bootstrap/bootstrap/css">
+ <include name="*.css" />
+ </fileset>
+ </copy>
+
+ <copy todir="${basedir}/src/htdocs/images">
+ <fileset dir="${basedir}/src/library/twitter/bootstrap/bootstrap/img">
+ <include name="*.png" />
+ </fileset>
+ </copy>
+
+ <copy todir="${basedir}/src/htdocs/scripts/vendor/bootstrap/">
+ <fileset dir="${basedir}/src/library/twitter/bootstrap/bootstrap/js">
+ <include name="*.js" />
+ </fileset>
+ </copy>
+ </target>
</project>

0 comments on commit 75ffafa

Please sign in to comment.