.PHONY: build install run test test-short test-update tidy clean

BIN := check-safety
TARGET ?= ../cms

build:
	go build -o $(BIN) .

install:
	go install .

run:
	go run . $(TARGET)

test:
	go test -count=1 ./...

test-short:
	go test -short -count=1 ./...

test-update:
	go test -count=1 -run TestGoldenCharacterization -update ./...

tidy:
	go mod tidy

clean:
	rm -f $(BIN)
