Skip to content

Commit

Permalink
feat(makefile): Add target "fmt" and "all"
Browse files Browse the repository at this point in the history
Make the latter the new default target.
  • Loading branch information
dbohdan committed Dec 23, 2017
1 parent 56f313b commit 7168e5d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
@@ -1,4 +1,13 @@
SRC = $(wildcard data/*.yml)


.PHONY: fmt


all: fmt README.md

fmt:
go fmt render-template.go

README.md: README.md.template render-template.go $(SRC)
go run render-template.go > README.md

0 comments on commit 7168e5d

Please sign in to comment.