#!/usr/bin/env bash

set -e

cd "$(dirname "$0")/.."

echo "==> Running Go build"
go build .

echo "==> Checking tests compile"
go test -run=^$ .
