Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 19 lines (14 sloc) 0.411 kb
3636511 Import latest changes
root authored
1 #!/bin/bash
2
3 # Prepare the environment with some common variables
4 BASEDIR=$(dirname $0)
5 . $BASEDIR/environment
6
7 # Cleanup after previous builds
8 rm -rf build || true
9 mkdir build
10
73cd506 Support getting phpcs path's from an env var.
root authored
11 # What paths do we want to check?
12 PHPCS_PATHS=${PHPCS_PATHS:-**/classes **/**/classes}
13
3636511 Import latest changes
root authored
14 # Lets go..
15 pushd $SOURCEDIR
73cd506 Support getting phpcs path's from an env var.
root authored
16 phpcs --standard=Kohana -s --extensions=php --report=checkstyle $PHPCS_PATHS > ../build/phpcs.xml
3636511 Import latest changes
root authored
17 PHPCSEXIT=$?
18 popd
Something went wrong with that request. Please try again.