mirror of
https://github.com/walles/moar.git
synced 2024-09-11 12:15:43 +03:00
Add --version tests
They fail.
This commit is contained in:
parent
92b0133b25
commit
84ae2cb21c
4
test.sh
4
test.sh
@ -30,6 +30,10 @@ if ./moar does-not-exist >& /dev/null ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo Test --version...
|
||||
./moar --version > /dev/null # Should exit with code 0
|
||||
diff -u <(./moar --version) <(git describe --tags --dirty)
|
||||
|
||||
# Ensure we can cross compile
|
||||
GOOS=linux GOARCH=386 go build
|
||||
GOOS=darwin GOARCH=amd64 go build
|
||||
|
Loading…
Reference in New Issue
Block a user