closure-compiler/build.xml
Peter Breuls 58b37eb33c Removed test file after running test
A side-effect of running the unit tests is the resulting compiled.js file. This change cleans that up.
2013-05-09 22:22:43 +02:00

24 lines
No EOL
707 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<project name="ClosureCompiler" default="hello">
<target name="hello">
<echo msg="Usage: phing [update|test]" />
</target>
<target name="update">
<echo msg="Updating from Git..." />
<exec command="git pull " passthru="true" />
<echo msg="Updating Composer..." />
<exec command="composer update " passthru="true" />
<echo msg="Done." />
</target>
<target name="test" depends="update">
<echo msg="Running PHPunit..." />
<exec command="php vendor/bin/phpunit " passthru="true" />
<exec command="rm compiled.js" />
<echo msg="Test done." />
</target>
</project>