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/ !config/
!release/

1
.gitignore vendored
View File

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

View File

@ -102,7 +102,7 @@ build: $(EXECUTABLE)
.PHONY: build .PHONY: build
$(EXECUTABLE): $(SOURCES) $(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 .PHONY: misspell-check
misspell-check: misspell-check: