summaryrefslogtreecommitdiff
path: root/scripts/verify
blob: 4f9c52f959bf08658c7262d73e916bb3d360a35d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
# verify — Build and test the claudomator codebase
# Usage: ./scripts/verify
# Example: ./scripts/verify

set -euo pipefail

REPO_DIR="$(cd "$(dirname "$0")/.." && pwd)"
cd "${REPO_DIR}"

echo "==> Building..."
go build ./...

echo "==> Testing (race detector on)..."
go test -race ./...

echo "==> All checks passed."