From 262b8b1d4297d6382aaf3a2ea28b0b003e7cff1c Mon Sep 17 00:00:00 2001 From: John Kerl Date: Sun, 6 Feb 2022 13:38:01 -0500 Subject: [PATCH] Make build before any tests (more of #877) --- Makefile | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 63a945e6c5..cbbc3f79eb 100644 --- a/Makefile +++ b/Makefile @@ -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