Skip to content

Commit

Permalink
make deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhub committed Mar 13, 2018
1 parent 2f22acd commit 887d8b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ dev-test: dep build-local test-development

# buid
build-%:
GOOS=linux GOARCH=amd64 go build -tags="$* netgo" -installsuffix netgo -ldflags "$(LDFLAGS)" -o bin/$(NAME) ./$(ENTRYPOINT)
GOOS=darwin GOARCH=amd64 go build -tags="$* netgo" -installsuffix netgo -ldflags "$(LDFLAGS)" -o bin/$(NAME)-darwin ./$(ENTRYPOINT)
GOOS=linux GOARCH=amd64 go build -tags="$* netgo" -installsuffix netgo -ldflags "$(LDFLAGS)" -o bin/$(NAME)-linux-64 ./$(ENTRYPOINT)
GOOS=darwin GOARCH=amd64 go build -tags="$* netgo" -installsuffix netgo -ldflags "$(LDFLAGS)" -o bin/$(NAME)-darwin-64 ./$(ENTRYPOINT)

# test
test-%:
Expand All @@ -29,3 +29,7 @@ update:
# Generate Go file
gobindata-%:
go-bindata -pkg config -o config/config_tml.go config.$*.tml

# publicing
deploy:
mv ./bin/* ./public/
Binary file modified public/boogeyman-darwin-64
Binary file not shown.
Binary file modified public/boogeyman-linux-64
Binary file not shown.

0 comments on commit 887d8b9

Please sign in to comment.