Skip to content

Commit 7747504

Browse files
committed
Some makefile conditioning
1 parent bf504c4 commit 7747504

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

GNUmakefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ MAKES-CLEAN := $(CLI-BINARY)
3030
MAKES-REALCLEAN := $(dir $(YTS-DIR))
3131

3232
# Setup and include go.mk and shell.mk:
33-
GO-FILES := $(shell find -not \( -path ./.cache -prune \) -name '*.go' | sort)
3433
GO-CMDS-SKIP := test fmt vet
3534
ifndef GO-VERSION-NEEDED
3635
GO-NO-DEP-GO := true
@@ -78,8 +77,6 @@ test: test-unit test-cli test-yts-all
7877
test-unit: $(GO-DEPS)
7978
go test$(if $v, -v)
8079

81-
test-data: $(YTS-DIR)
82-
8380
test-yts: $(GO-DEPS) $(YTS-DIR)
8481
go test$(if $v, -v) ./yts -count=$(count)
8582

@@ -94,6 +91,8 @@ test-yts-fail: $(GO-DEPS) $(YTS-DIR)
9491
test-cli: $(GO-DEPS) cli
9592
go test$(if $v, -v) ./cmd/go-yaml -count=$(count)
9693

94+
get-test-data: $(YTS-DIR)
95+
9796
# Install golangci-lint for GitHub Actions:
9897
golangci-lint-install: $(GOLANGCI-LINT)
9998

0 commit comments

Comments
 (0)