From 864c3a25cfb281e95ed82e5cf0d60033bba1c115 Mon Sep 17 00:00:00 2001 From: Poe Rhiza Date: Tue, 29 Jun 2021 22:36:08 -0400 Subject: [PATCH] chore(make): update release and all to leverage --config --- .gitignore | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6ffe666..6a4d3f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ - +dist/ *.swp .idea/ chisel diff --git a/Makefile b/Makefile index 94d2a82..7e0c759 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ GOFILESNOTEST=`go list ./... | grep -v test` $(shell mkdir -p ${DIR}) all: - @goreleaser --skip-publish --config .github/goreleaser.yml + @goreleaser build --skip-validate --single-target --config .github/goreleaser.yml freebsd: lint env CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -trimpath ${LDFLAGS} ${GCFLAGS} ${ASMFLAGS} -o ${DIR}/chisel-freebsd_amd64 . @@ -46,7 +46,7 @@ test: ## Run unit tests @gocover-cobertura < ${DIR}/coverage.out > ${DIR}/coverage.xml release: lint test - goreleaser release + goreleaser release --config .github/goreleaser.yml clean: rm -rf ${DIRBASE}/*