Created
January 23, 2013 13:19
-
-
Save eduardo-matos/4605502 to your computer and use it in GitHub Desktop.
Apache Ant Build.xml para compilar projetos com Dojo Toolkit + SASS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="Builder" default="build.all" basedir="./"> | |
<property name="dir.js.builder" value="js/src/util/buildscripts/build.bat" /> | |
<property name="dir.js.src" value="js/src" /> | |
<property name="dir.css.src" value="css/src" /> | |
<!-- Compile SASS --> | |
<target name="compile-css"> | |
<echo>Compilando CSS...</echo> | |
<exec executable="cmd"> | |
<arg line="/c compass compile ${dir.css.src} --output-style compressed --force" /> | |
</exec> | |
</target> | |
<!-- Build Dojo --> | |
<target name="compile-js"> | |
<echo>Compilando javascript...</echo> | |
<exec executable="cmd"> | |
<arg value="/c" /> | |
<arg path="${dir.js.builder}" /> | |
<arg value="--profile" /> | |
<arg value="${dir.js.src}/release.profile.js" /> | |
<arg value="-r" /> | |
</exec> | |
</target> | |
<target name="build.all" depends="compile-css,compile-js" /> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment