Skip to content

Commit

Permalink
Add box.json config
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Aug 24, 2018
1 parent 465ceab commit 6d5dfea
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/vendor/
/build/
/benchmarker.phar
2 changes: 1 addition & 1 deletion bin/benchmarker
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ $application = new Application('benchmarker', '0.1');
$application->addCommands([
new BenchmarkRunCommand(getcwd()),
new BenchmarkCreateCommand(getcwd()),
new BenchmarkParallelizeCommand(getcwd(), __FILE__),
new BenchmarkParallelizeCommand(getcwd(), $_SERVER['argv'][0]),
]);
$application->run(new ArgvInput());
34 changes: 34 additions & 0 deletions box.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"alias": "benchmarker.phar",
"directories": [
"src/"
],
"finder": [
{
"name": "*.php",
"exclude": [
".gitignore",
".md",
"phpunit",
"Tester",
"Tests",
"tests",
"yaml"
],
"in": "vendor"
}
],
"compactors": [
"Herrera\\Box\\Compactor\\Json",
"Herrera\\Box\\Compactor\\Php"
],
"files": [
"LICENSE"
],
"compression": "GZ",
"git-version": "package_version",
"main": "bin/benchmarker",
"output": "benchmarker.phar",
"chmod": "0755",
"stub": true
}

0 comments on commit 6d5dfea

Please sign in to comment.