Skip to content

Commit

Permalink
Update commands.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <[email protected]>
  • Loading branch information
crynobone committed Oct 18, 2013
1 parent a642b8d commit c759a67
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ vendor/*
# Code Coverage
build/code-browser/*
build/coverage/*
build/docs/*
build/logs/*
build/pdepend/*
!build/code-browser/.gitignore
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Imagine Package for Laravel 4
==============

Orchestra\Imagine is a Laravel 4 package wrapper for [Imagine](https://github.com/avalanche123/Imagine).
`Orchestra\Imagine` is a Laravel 4 package wrapper for [Imagine](https://github.com/avalanche123/Imagine).

[![Latest Stable Version](https://poser.pugx.org/orchestra/imagine/v/stable.png)](https://packagist.org/packages/orchestra/imagine)
[![Total Downloads](https://poser.pugx.org/orchestra/imagine/downloads.png)](https://packagist.org/packages/orchestra/imagine)
Expand Down
23 changes: 18 additions & 5 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
<target name="clean" description="Clean up and create artifact directories">
<delete dir="${basedir}/build/code-browser"/>
<delete dir="${basedir}/build/coverage"/>
<delete dir="${basedir}/build/docs"/>
<delete dir="${basedir}/build/logs"/>
<delete dir="${basedir}/build/pdepend"/>

<mkdir dir="${basedir}/build/code-browser"/>
<mkdir dir="${basedir}/build/coverage"/>
<mkdir dir="${basedir}/build/docs"/>
<mkdir dir="${basedir}/build/logs"/>
<mkdir dir="${basedir}/build/pdepend"/>
</target>
Expand All @@ -18,6 +20,7 @@
<exec executable="composer.phar">
<arg value="update"/>
<arg value="--dev"/>
<arg value="--prefer-dist"/>
</exec>
</target>

Expand Down Expand Up @@ -113,9 +116,19 @@
<exec executable="phpunit" failonerror="true" />
</target>

<target name="build"
depends="clean,composer-update,composer-dumpautoload,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpunit,phpcb"/>

<target name="quick-build"
depends="clean,composer-dumpautoload,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpunit,phpcb"/>
<target name="phpdoc" description="Run build phpdoc">
<exec executable="phpdoc">
<arg value="-d"/>
<arg value="src/"/>
<arg value="-i"/>
<arg value="*tests*"/>
<arg value="-t"/>
<arg value="${basedir}/build/docs"/>
</exec>
</target>

<target name="build" depends="update,generate"/>
<target name="generate" depends="clean,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpunit,phpcb,phpdoc"/>
<target name="update" depends="composer-update,composer-dumpautoload"/>
<target name="quick-build" depends="composer-dumpautoload,generate"/>
</project>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
],
"require": {
"imagine/imagine": "~0.5.0"
"imagine/imagine": "~0.5"
},
"require-dev": {
"mockery/mockery": "0.8.0",
Expand Down

0 comments on commit c759a67

Please sign in to comment.