Skip to content

Commit

Permalink
updated composer integration
Browse files Browse the repository at this point in the history
  • Loading branch information
everzet committed Apr 22, 2012
1 parent e224fab commit 4b20ec6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ php:


before_script: before_script:
- wget -nc http://getcomposer.org/composer.phar - wget -nc http://getcomposer.org/composer.phar
- php composer.phar update - php composer.phar install --dev


script: phpunit script: phpunit
2 changes: 1 addition & 1 deletion autoload.php
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php <?php


include(__DIR__.'/vendor/.composer/autoload.php'); include(__DIR__.'/vendor/autoload.php');
7 changes: 6 additions & 1 deletion composer.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@
"php": ">=5.3.1", "php": ">=5.3.1",
"symfony/finder": ">=2.0,<2.2-dev" "symfony/finder": ">=2.0,<2.2-dev"
}, },
"recommend": { "require-dev": {
"symfony/yaml": ">=2.0,<2.2-dev", "symfony/yaml": ">=2.0,<2.2-dev",
"symfony/translation": ">=2.0,<2.2-dev", "symfony/translation": ">=2.0,<2.2-dev",
"symfony/config": ">=2.0,<2.2-dev" "symfony/config": ">=2.0,<2.2-dev"
}, },
"suggest": {
"symfony/yaml": "If you want to parse features, represented in YAML files",
"symfony/translation": "If you want to use Symfony2 translations adapter",
"symfony/config": "If you want to use Config component to manage resources"
},
"autoload": { "autoload": {
"psr-0": { "psr-0": {
"Behat\\Gherkin": "src/" "Behat\\Gherkin": "src/"
Expand Down

0 comments on commit 4b20ec6

Please sign in to comment.