refactor: remove unnecessary func. (#40)

This commit is contained in:
Bo-Yi Wu
2017-02-04 16:37:26 +08:00
committed by GitHub
parent 3943bd28ff
commit 03be9e5be0
5 changed files with 6 additions and 52 deletions

View File

@@ -107,10 +107,10 @@ endif
docker push $(DEPLOY_ACCOUNT)/$(DEPLOY_IMAGE):$(tag)
coverage:
sed -i '/main.go/d' coverage.txt
sed -i '/main.go/d' .cover/coverage.txt
curl -s https://codecov.io/bash > .codecov && \
chmod +x .codecov && \
./.codecov -f coverage.txt
./.codecov -f .cover/coverage.txt
clean:
go clean -x -i ./...