Skip to content

Commit

Permalink
Don't embed twice on make all
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmitchell committed Oct 16, 2019
1 parent 3e47c85 commit 63d9265
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ server:
GOOS=$(GOOS) GOARCH=amd64 $(BUILD)

darwin:
GOOS=darwin OUTPUT_NAME=$(APP_NAME)-darwin VERSION="$(VERSION)" $(MAKE)
GOOS=darwin OUTPUT_NAME=$(APP_NAME)-darwin VERSION="$(VERSION)" $(MAKE) server

linux:
GOOS=linux OUTPUT_NAME=$(APP_NAME)-linux VERSION="$(VERSION)" $(MAKE)
GOOS=linux OUTPUT_NAME=$(APP_NAME)-linux VERSION="$(VERSION)" $(MAKE) server

all: darwin linux
all: embed darwin linux

embed:
GOOS="" GOARCH="" go run web/embed/main.go web/embed/mappings.yml
Expand Down

0 comments on commit 63d9265

Please sign in to comment.