1
0
mirror of https://github.com/rancher/os.git synced 2025-09-08 18:20:32 +00:00

CI scripts

This commit is contained in:
Darren Shepherd
2015-02-17 17:01:03 -07:00
parent d26cf6485c
commit fe5cef0ba6
3 changed files with 17 additions and 0 deletions

13
scripts/test Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
cd $(dirname $0)/..
result=$(find . -name "*.go" | grep -v ./Godeps | xargs gofmt -s -l)
for i in $result; do
echo $i
done
[ -n "$result" ] && exit 1
echo OK