Skip to content

Commit

Permalink
define binary script in composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
d0x2f committed Sep 23, 2018
1 parent 6da31ac commit 0c8ce04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions clover-merge.php → clover-merge
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env php
<?php
require_once 'vendor/autoload.php';

Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
},
"suggest": {
"ext-ds": "to improve performance and reduce memory usage"
}
},
"bin": [
"clover-merge"
]
}
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ruleset name="Snout">
<file>src</file>
<file>spec</file>
<file>clover-merge.php</file>
<file>clover-merge</file>

<arg name="basepath" value="."/>
<arg name="colors" />
Expand Down

0 comments on commit 0c8ce04

Please sign in to comment.