Skip to content

Commit

Permalink
Make Makefile more portable
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Sep 12, 2021
1 parent 1faff57 commit 717b5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
@@ -1,5 +1,5 @@
GO?=go
GOLANGCI_LINT_VERSION=$(shell python3 -c "import yaml; print(yaml.safe_load(open('.github/workflows/main.yml', 'r'))['env']['GOLANGCI_LINT_VERSION'])")
GOLANGCI_LINT_VERSION=$(shell grep GOLANGCI_LINT_VERSION: .github/workflows/main.yml | awk '{ print $$2 }')

.PHONY: default
default: run build test lint format
Expand Down

0 comments on commit 717b5d1

Please sign in to comment.