fix(git): remove bin folder from git ignore list

This commit is contained in:
Bo-Yi Wu 2017-12-11 09:17:36 +08:00
parent 46658f3838
commit c735e66a1c
2 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@ -25,7 +25,6 @@ _testmain.go
gin-bin
key.pem
bin
.DS_Store
gorush/log/*.log
gorush.db

View File

@ -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)