update makefile and travis.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-07-19 15:50:29 +08:00
parent 5b20181474
commit 65d48331a5
3 changed files with 12 additions and 9 deletions

View File

@@ -66,17 +66,17 @@ endif
docker tag $(PRODUCTION_IMAGE):latest $(DEPLOY_ACCOUNT)/$(PRODUCTION_IMAGE):$(tag)
docker push $(DEPLOY_ACCOUNT)/$(PRODUCTION_IMAGE):$(tag)
bundle:
glide install
install:
@glide install
bundle_update:
glide update --all-dependencies --resolve-current
update:
@glide up
fmt:
@echo $(TARGETS_NOVENDOR) | xargs go fmt
lint:
golint gorush
@golint -set_exit_status=1 gorush/
clean:
-rm -rf build.tar.gz gorush.tar.gz bin/* coverage.txt gorush.tar.gz gorush/gorush.db storage/boltdb/gorush.db