From 46658f38382ad8af3b296bdac6800036a2937487 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 10 Dec 2017 19:07:58 +0800 Subject: [PATCH] fix(docker): add binary file to docker. --- .dockerignore | 2 +- .gitignore | 1 + Makefile | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 6973420..22571d1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,3 @@ * -!bin/ !config/ +!release/ diff --git a/.gitignore b/.gitignore index cda8956..26f7238 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ gorush.db coverage.txt dist custom +release diff --git a/Makefile b/Makefile index 4e43b47..e3ad062 100644 --- a/Makefile +++ b/Makefile @@ -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: