Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use Composer to manage development dependencies

  • Loading branch information...
commit c50ad85ee08fe37f756bf26a55e4250e2e374531 1 parent 0532883
@harto harto authored
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
4 .gitignore
@@ -1,2 +1,2 @@
-.pear.tmp
-vendor/simpletest
+/composer.lock
+/vendor
View
11 README.md
@@ -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
3  composer.json
@@ -16,6 +16,9 @@
"require": {
"php": ">=5.3.0"
},
+ "require-dev": {
+ "lastcraft/simpletest": ">=1.1.0"
+ },
"autoload": {
"psr-0": {
"Ergo": "classes"
View
2  runtests.php
@@ -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(
Please sign in to comment.
Something went wrong with that request. Please try again.