mirror of
https://github.com/octoleo/restic.git
synced 2024-11-30 00:33:57 +00:00
15 lines
240 B
Bash
15 lines
240 B
Bash
#!/bin/sh -e
|
|
|
|
echo "Building for Linux..."
|
|
GOOS=linux go build
|
|
|
|
echo "Building for Darwin..."
|
|
GOOS=darwin go build
|
|
|
|
echo "Building for FreeBSD..."
|
|
GOOS=freebsd go build
|
|
|
|
echo "Running tests..."
|
|
go vet
|
|
go test -v -race -covermode=atomic
|