closure-compiler/build.xml
Peter Breuls 2cbede7d67 Initial commit.
Signed-off-by: Peter Breuls <breuls@devize.nl>
2013-05-09 18:21:37 +02:00

23 lines
No EOL
665 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" />
<echo msg="Test done." />
</target>
</project>