Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ before_script:
- composer install

script:
- ./vendor/bin/phpunit --coverage-text
- ./bin/phpunit --coverage-text
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

11 changes: 11 additions & 0 deletions bin/calc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env php
<?php

require_once __DIR__ . '/../vendor/autoload.php';

use SeaPhp\SimpleProject\Command\AddComand;
use Symfony\Component\Console\Application;

$application = new Application('Jeremy\'s math-doer', '0.0.1-alpha1');
$application->add(new AddComand());
$application->run();
9 changes: 8 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"email": "admin@seaphp.com"
}
],
"bin": ["bin/calc"],
"config": {
"bin-dir": "bin"
},
"autoload": {
"psr-4": {
"SeaPhp\\SimpleProject\\": "src/"
Expand All @@ -21,5 +25,8 @@
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"require": {
"symfony/console": "~2.5"
}
}
}
Loading