Make build before any tests (more of #877)

This commit is contained in:
John Kerl 2022-02-06 13:38:01 -05:00
parent 4eb490aaa1
commit 262b8b1d42

View file

@ -29,25 +29,25 @@ install: build
# ----------------------------------------------------------------
# Unit tests (small number)
unit-test ut:
unit-test ut: build
go test github.com/johnkerl/miller/internal/pkg/...
ut-lib:
ut-lib:build
go test github.com/johnkerl/miller/internal/pkg/lib...
ut-scan:
ut-scan:build
go test github.com/johnkerl/miller/internal/pkg/scan/...
ut-mlv:
ut-mlv:build
go test github.com/johnkerl/miller/internal/pkg/mlrval/...
ut-bifs:
ut-bifs:build
go test github.com/johnkerl/miller/internal/pkg/bifs/...
ut-input:
ut-input:build
go test github.com/johnkerl/miller/internal/pkg/input/...
bench:
bench:build
go test -run=nonesuch -bench=. github.com/johnkerl/miller/internal/pkg/...
bench-mlv:
bench-mlv:build
go test -run=nonesuch -bench=. github.com/johnkerl/miller/internal/pkg/mlrval/...
bench-input:
bench-input:build
go test -run=nonesuch -bench=. github.com/johnkerl/miller/internal/pkg/input/...
# ----------------------------------------------------------------
@ -103,9 +103,12 @@ docs:
# ----------------------------------------------------------------
# Keystroke-savers
sure: build check
it: build check
so: install
sure: build check
mlr:
go build github.com/johnkerl/miller/cmd/mlr