Permalink
Browse files

Use Composer to manage development dependencies

  • Loading branch information...
1 parent 0532883 commit c50ad85ee08fe37f756bf26a55e4250e2e374531 @harto harto committed Jun 20, 2012
Showing with 11 additions and 9 deletions.
  1. +2 −2 .gitignore
  2. +5 −6 README.md
  3. +3 −0 composer.json
  4. +1 −1 runtests.php
View
@@ -1,2 +1,2 @@
-.pear.tmp
-vendor/simpletest
+/composer.lock
+/vendor
View
@@ -36,14 +36,12 @@ Basic Usage
How to develop
-----------------
-For running, Ergo has no external dependancies. For development [Pundle](https://github.com/T-Moe/Pundle) is used to pull
-in SimpleTest as a dependancy.
+For running, Ergo has no external dependancies. For development [Composer][1] is
+used to pull in SimpleTest as a dependancy.
-To install dependancies via Pundle:
+To install dependancies via Composer:
- $ pear channel-discover pear.webzeile.de
- $ pear install webzeile/Pundle
- $ pundle install
+ $ composer install --dev
Run the test suite:
@@ -56,3 +54,4 @@ Status
Used in several high-volume production websites, including 99designs.com, flippa.com, learnable.com and sitepoint.com.
+[1](https://github.com/composer/composer)
View
@@ -16,6 +16,9 @@
"require": {
"php": ">=5.3.0"
},
+ "require-dev": {
+ "lastcraft/simpletest": ">=1.1.0"
+ },
"autoload": {
"psr-0": {
"Ergo": "classes"
View
@@ -7,7 +7,7 @@
$classloader = new \Ergo\ClassLoader();
$classloader->register()->includePaths(array(
BASEDIR."/classes",
- BASEDIR."/vendor/simpletest",
+ BASEDIR."/vendor/lastcraft/simpletest",
));
$options = new \Ergo\Console\Options($argv, array(

0 comments on commit c50ad85

Please sign in to comment.