12 lines
162 B
Bash
Executable File
12 lines
162 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
GO="${GO:-/usr/local/go/bin/go}"
|
|
|
|
echo "Running go vet..."
|
|
$GO vet ./...
|
|
|
|
echo "Running tests..."
|
|
$GO test ./... -v
|
|
|
|
echo "All checks passed."
|