summaryrefslogtreecommitdiff
path: root/service/go
diff options
context:
space:
mode:
authorBruno Wagner <bwgpro@gmail.com>2015-01-12 11:35:26 -0200
committerBruno Wagner <bwgpro@gmail.com>2015-01-12 11:35:26 -0200
commitb7c4c0bde3fbb3521ea2e280bca6f1ea80f81ca7 (patch)
tree363a5daac666348c1a1753422e9da54797186bc2 /service/go
parentf8361731e4d3a7f6356355a231483109cfa70edc (diff)
Added jshint to the go test
Diffstat (limited to 'service/go')
-rwxr-xr-xservice/go7
1 files changed, 7 insertions, 0 deletions
diff --git a/service/go b/service/go
index 111f7515..a6cf213e 100755
--- a/service/go
+++ b/service/go
@@ -24,7 +24,14 @@ function runPep8 {
pep8 pixelated test --ignore=E501
}
+function runJSHint {
+ cd ../web-ui
+ LC_ALL=en_US.UTF-8 ./go jshint
+ cd -
+}
+
if [ "$1" == 'test' ]; then
+ runJSHint
runPep8
runUnitTests
runIntegrationTests