Skip to content

Instantly share code, notes, and snippets.

@lukaszx0
Created February 24, 2021 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaszx0/26882e1705c3481e9723d21593df6c8e to your computer and use it in GitHub Desktop.
Save lukaszx0/26882e1705c3481e9723d21593df6c8e to your computer and use it in GitHub Desktop.
tools.go makefile
TOOLS := $(shell cat tools.go | grep _ | awk -F'"' '{print $$2}')
.SECONDARY: bin/.tools
bin/.tools: bin/ tools.go
go install $(TOOLS)
@touch $@
.PHONY: tools
tools: bin/.tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment