Skip to content

Commit

Permalink
Added phpmetrics to bin
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey committed Apr 9, 2019
1 parent cfde123 commit 2520be6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions default/app/bin/metrics
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

PATH=./vendor/bin:../../vendor/bin:~/.config/composer/vendor/bin:~/.composer/vendor/bin:$PATH
phpmetrics --report-html="./temp/metrics" --exclude="tests,temp" .

echo
echo Control+click to open:
echo file://$PWD/temp/metrics/index.html
echo
# If you want open it in browser directly
# xdg-open file://$PWD/temp/metrics/index.html
# in Mac
# open file://$PWD/temp/metrics/index.html

# composer global require 'phpmetrics/phpmetrics'

0 comments on commit 2520be6

Please sign in to comment.