Skip to content

Commit

Permalink
Bump Version and fix Phpunit Native Task
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Nov 16, 2010
1 parent acf3a74 commit 3d7bb1e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<!--
Builds DBAL package, preparing it for distribution.
-->
<target name="build-dbal" depends="test">
<target name="build-dbal" depends="prepare">
<copy todir="${build.dir}/doctrine-dbal">
<fileset refid="shared-artifacts"/>
</copy>
Expand All @@ -93,7 +93,7 @@
<exec command="mv ${build.dir}/doctrine-dbal/Doctrine/DBAL/Version2.php ${build.dir}/doctrine-dbal/Doctrine/DBAL/Version.php" passthru="true" />
</target>

<target name="build" depends="test, build-dbal"/>
<target name="build" depends="build-dbal"/>

<!--
Runs the full test suite.
Expand Down
4 changes: 2 additions & 2 deletions lib/Doctrine/DBAL/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Version
/**
* Current Doctrine Version
*/
const VERSION = '2.0.0RC1-DEV';
const VERSION = '2.0.0RC2-DEV';

/**
* Compares a Doctrine version with the current one.
Expand All @@ -52,4 +52,4 @@ public static function compare($version)

return version_compare($version, $currentVersion);
}
}
}
2 changes: 1 addition & 1 deletion tests/NativePhpunitTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* to kontakt@beberlei.de so I can send you a copy immediately.
*/

require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/Autoload.php';

/**
* A more flexible and powerful PHPUnit Task than the native Phing one.
Expand Down

0 comments on commit 3d7bb1e

Please sign in to comment.