Debian Codegraph @

extensions/Thanks/scripts/pre-commit

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 # Code from https://gist.github.com/holysugar/1318698 , simpler than
3 # http://stackoverflow.com/a/6262715/451712
4
5 # Work out location of Thanks/scripts/ directory
6 dir=$(dirnamescip-shell system . . dirname. $(php -r "echo realpath('$0'), \"\\n\";"))
7 # Move to the project root
8 cd $(dirnamescip-shell system . . dirname. $dir)
9
10 findscip-shell system . . find. ./ -type f -iname '*.php' -print0 | xargsscip-shell system . . xargs. -0 -P 12 -L 1 php -l
11
12 # Run npm test
13 npmscip-shell system . . npm. test