diff --git a/.gitignore b/.gitignore index 26f7238..93de03f 100644 --- a/.gitignore +++ b/.gitignore @@ -25,7 +25,6 @@ _testmain.go gin-bin key.pem -bin .DS_Store gorush/log/*.log gorush.db diff --git a/Makefile b/Makefile index e3ad062..9b29ce0 100644 --- a/Makefile +++ b/Makefile @@ -98,8 +98,8 @@ install: $(SOURCES) .PHONY: install # build from source -build: $(EXECUTABLE) .PHONY: build +build: $(EXECUTABLE) $(EXECUTABLE): $(SOURCES) $(GO) build -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/$@ @@ -202,7 +202,7 @@ clean: find . -name coverage.txt -delete find . -name *.tar.gz -delete find . -name *.db -delete - -rm -rf bin dist .cover + -rm -rf release dist .cover rpc/example/node/gorush_*_pb.js: rpc/proto/gorush.proto protoc -I rpc/proto rpc/proto/gorush.proto --js_out=import_style=commonjs,binary:rpc/example/node/ --grpc_out=rpc/example/node/ --plugin=protoc-gen-grpc=$(NODE_PROTOC_PLUGIN)