Skip to content

Commit b8d8f57

Browse files
authored
fix: escape $ in Makefile bench target for correct regex (#29)
Use ^$$ so Make passes literal ^$ to the shell, ensuring go test -run matches no test names (benchmarks only).
1 parent 0453fba commit b8d8f57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ lint:
1313
go tool govulncheck ./...
1414

1515
bench:
16-
go test -run=^$ -bench=. -benchmem ./...
16+
go test -run=^$$ -bench=. -benchmem ./...
1717

1818
doc:
1919
go tool gomarkdoc --output '{{.Dir}}/README.md' ./...

0 commit comments

Comments
 (0)