2013-05-31 13:52:12 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2013-06-03 15:13:42 +02:00
|
|
|
set -o nounset
|
|
|
|
|
|
|
|
SCRIPTNAME=$(readlink -f $0)
|
|
|
|
DIR=$(dirname $SCRIPTNAME)
|
|
|
|
|
2013-06-03 10:36:27 +02:00
|
|
|
# Make sure that the destination directory for logs and reports exists
|
2013-06-03 15:24:39 +02:00
|
|
|
mkdir -p $DIR/../../build/log
|
2013-06-03 10:36:27 +02:00
|
|
|
|
2013-06-03 16:07:52 +02:00
|
|
|
jshint --reporter=jslint "$@" $DIR/../.. > $DIR/../../build/log/jshint_results.xml
|
2013-05-31 13:52:12 +02:00
|
|
|
|
|
|
|
exit 0
|