Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
leedwilkins committed Jul 25, 2017
2 parents 276d1c7 + bb27327 commit ede7e65
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ install:
- ant setup
- travis_retry composer install --no-interaction --prefer-source

script: phpunit
script: bin/phpunit

php:
- 7.0
Expand Down
12 changes: 10 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="kartenmacherei-rest-framework" default="setup">

<target name="setup" depends="install-tools"/>
<target name="setup" depends="clean, install-tools"/>

<target name="clean" unless="clean.done" description="Cleanup build artifacts">
<delete dir="${basedir}/tools"/>
<delete dir="${basedir}/vendor"/>
<delete file="${basedir}/src/autoload.php"/>

<property name="clean.done" value="true"/>
</target>

<target name="-tools-installed">
<available file="${basedir}/tools" property="tools-installed" type="dir"/>
Expand All @@ -15,4 +23,4 @@
</exec>
</target>

</project>
</project>

0 comments on commit ede7e65

Please sign in to comment.