1
0
mirror of https://github.com/rancher/os.git synced 2025-08-06 17:24:16 +00:00
os/scripts/test

14 lines
185 B
Plaintext
Raw Normal View History

2015-02-18 00:01:03 +00:00
#!/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