fix(docker): add binary file to docker.

This commit is contained in:
Bo-Yi Wu 2017-12-10 19:07:58 +08:00
parent 9aedf8870e
commit 46658f3838
3 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,3 @@
*
!bin/
!config/
!release/

1
.gitignore vendored
View File

@ -34,3 +34,4 @@ gorush.db
coverage.txt
dist
custom
release

View File

@ -102,7 +102,7 @@ build: $(EXECUTABLE)
.PHONY: build
$(EXECUTABLE): $(SOURCES)
$(GO) build -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o bin/$@
$(GO) build -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/$@
.PHONY: misspell-check
misspell-check: