mirror of https://github.com/0xERR0R/blocky.git
makefile fix
This commit is contained in:
parent
c37637ab1e
commit
4c799f0fef
2
Makefile
2
Makefile
|
@ -46,7 +46,9 @@ fmt: ## gofmt and goimports all go files
|
|||
|
||||
docker-build: ## Build docker image
|
||||
go generate ./...
|
||||
go mod vendor -v
|
||||
docker buildx build -o type=docker --build-arg VERSION=${VERSION} --build-arg BUILD_TIME=${BUILD_TIME} --network=host -t ${DOCKER_IMAGE_NAME} .
|
||||
rm -R vendor
|
||||
|
||||
help: ## Shows help
|
||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
|
|
Loading…
Reference in New Issue