Skip to content

Commit

Permalink
fix(Makefile): Rename staticfiles make target. Fixes #2010 (#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaniwaki authored and alexec committed Jan 23, 2020
1 parent 79a42d4 commit faa9dbb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,12 @@ else
endif
touch ui/dist/app

$(GOPATH)/bin/staticfiles:
.PHONY: staticfiles
staticfiles:
# Install the "staticfiles" tool
go get bou.ke/staticfiles

cmd/server/static/files.go: ui/dist/app $(GOPATH)/bin/staticfiles
cmd/server/static/files.go: ui/dist/app staticfiles
# Pack UI into a Go file.
staticfiles -o cmd/server/static/files.go ui/dist/app

Expand Down

0 comments on commit faa9dbb

Please sign in to comment.