fix rm script

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-09-11 09:43:19 +08:00
parent 632dcbc4e3
commit e6160c4146
2 changed files with 2 additions and 4 deletions

3
.gitignore vendored
View File

@ -25,11 +25,10 @@ _testmain.go
gin-bin
key.pem
bin/*
bin
.DS_Store
gorush/log/*.log
gorush.db
Dockerfile.tmp
.cover
*.db*
coverage.txt

View File

@ -189,8 +189,7 @@ clean:
find . -name coverage.txt -delete
find . -name *.tar.gz -delete
find . -name *.db -delete
-rm -rf bin/* \
.cover
-rm -rf bin 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)