Skip to content

Commit

Permalink
Make build before any tests (more of #877)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Feb 6, 2022
1 parent 4eb490a commit 262b8b1
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/...

# ----------------------------------------------------------------
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 262b8b1

Please sign in to comment.