mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
11 lines
263 B
Bash
Executable File
11 lines
263 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
test -z "$(gofmt -s -l . | grep -v Godeps/_workspace/src/ | tee /dev/stderr)"
|
|
if [ $? -gt 0 ]; then
|
|
echo "Some files aren't formatted, please run 'go fmt ./pkg/...' to format your source code before committing"
|
|
exit 1
|
|
fi
|
|
|
|
|
|
grunt test
|