4
Makefile
4
Makefile
@@ -6,6 +6,7 @@ BUILD_IMAGE := "gorush-build"
|
|||||||
PRODUCTION_IMAGE := "gorush"
|
PRODUCTION_IMAGE := "gorush"
|
||||||
DEPLOY_ACCOUNT := "appleboy"
|
DEPLOY_ACCOUNT := "appleboy"
|
||||||
VERSION := $(shell git describe --tags)
|
VERSION := $(shell git describe --tags)
|
||||||
|
TARGETS_NOVENDOR := $(shell glide novendor)
|
||||||
RANDOM := $(shell date '+%Y%m%d%H%M%S%s')
|
RANDOM := $(shell date '+%Y%m%d%H%M%S%s')
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
@@ -69,6 +70,9 @@ bundle:
|
|||||||
bundle_update:
|
bundle_update:
|
||||||
glide update --all-dependencies --resolve-current
|
glide update --all-dependencies --resolve-current
|
||||||
|
|
||||||
|
fmt:
|
||||||
|
@echo $(TARGETS_NOVENDOR) | xargs go fmt -w
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
golint gorush
|
golint gorush
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user