well-goknown/vendor/github.com/greatroar/blobloom/test.sh
2024-10-28 20:11:29 -04:00

17 lines
222 B
Bash

#!/bin/sh
set -e -x
golangci-lint run . examples/*
go test
if [ "$(go env GOARCH)" = amd64 ]; then
go test -tags nounsafe
GOARCH=386 go test
fi
for e in examples/*; do
(cd $e && go build && rm $(basename $e))
done