Skip to content

Commit

Permalink
fix: test-cover call (#116)
Browse files Browse the repository at this point in the history
Signed-off-by: Tronje Krop <[email protected]>
  • Loading branch information
tkrop committed Nov 5, 2024
1 parent 09beaf9 commit 6777793
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export GOPATH ?= $(shell $(GO) env GOPATH)
export GOBIN ?= $(GOPATH)/bin

# Setup go-make version to use desired build and config scripts.
GOMAKE_DEP ?= github.com/tkrop/[email protected].112
GOMAKE_DEP ?= github.com/tkrop/[email protected].113
INSTALL_FLAGS ?= -mod=readonly -buildvcs=auto
# Request targets from go-make targets target.
TARGETS := $(shell command -v $(GOBIN)/go-make >/dev/null || \
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.112
0.0.113
2 changes: 1 addition & 1 deletion config/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export GOPATH ?= $(shell $(GO) env GOPATH)
export GOBIN ?= $(GOPATH)/bin

# Setup go-make version to use desired build and config scripts.
GOMAKE_DEP ?= github.com/tkrop/[email protected].112
GOMAKE_DEP ?= github.com/tkrop/[email protected].113
INSTALL_FLAGS ?= -mod=readonly -buildvcs=auto
# Request targets from go-make targets target.
TARGETS := $(shell command -v $(GOBIN)/go-make >/dev/null || \
Expand Down
4 changes: 2 additions & 2 deletions config/Makefile.base
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ go-pkg = $(shell awk -v mode="$(2)" -v filter="$(3)" \


# Setup go-make to use desired build and config scripts.
GOMAKE_DEP := github.com/tkrop/[email protected].112
GOMAKE_DEP := github.com/tkrop/[email protected].113
GOMAKE_MAKEFILE := $(realpath $(firstword $(MAKEFILE_LIST)))
GOMAKE_MAKEFILES := $(GOMAKE_MAKEFILE) \
$(wildcard Makefile.vars) $(wildcard Makefile.ext)
Expand Down Expand Up @@ -965,7 +965,7 @@ test-cover::
@FILE=$$(ls -Art "$(TEST_ALL)" "$(TEST_UNIT)" \
"$(TEST_BENCH)" 2>/dev/null); \
$(GO) tool cover -o "$${FILE}.html" -html="$${FILE}"; \
if [ $(ARGS) == "white" ]; then \
if [ "$(ARGS)" == "white" ]; then \
sed -i 's/black/whitesmoke/g' "$${FILE}.html"; \
fi; \
sensible-browser "$${FILE}.html";
Expand Down

0 comments on commit 6777793

Please sign in to comment.