4.13.0
This commit is contained in:
13
Makefile
13
Makefile
@@ -7,7 +7,7 @@ ZIPDIR = ./zip
|
||||
BINARY=${NAME}
|
||||
WORKPATH= ./examples/terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${NAMESPACE}/${VERSION}/${OS_ARCH}
|
||||
MAINPATH = ./cmd/decort/
|
||||
VERSION=4.12.2
|
||||
VERSION=4.13.0
|
||||
OS_ARCH=$(shell go env GOHOSTOS)_$(shell go env GOHOSTARCH)
|
||||
|
||||
FILES = ${BINARY}_${VERSION}_darwin_amd64\
|
||||
@@ -45,8 +45,8 @@ st:
|
||||
build:
|
||||
go build -o ${BINARY} ${MAINPATH}
|
||||
|
||||
release: export CGO_ENABLED=0
|
||||
release: $(FILES)
|
||||
|
||||
$(FILES) : $(BINDIR) $(ZIPDIR) $(BINS)
|
||||
zip -r $(ZIPDIR)/$@.zip $(BINDIR)/$@
|
||||
zip -rj $(ZIPDIR)/$@.zip scripts/install.bat scripts/install.sh
|
||||
@@ -83,3 +83,12 @@ test:
|
||||
|
||||
testacc:
|
||||
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m
|
||||
|
||||
.PHONY: tfdocs
|
||||
tfdocs:
|
||||
rm -rf docs/*
|
||||
tfplugindocs generate \
|
||||
--provider-dir=./cmd/decort \
|
||||
--provider-name=terraform-provider-decort \
|
||||
--rendered-provider-name=terraform-provider-decort \
|
||||
--rendered-website-dir=../../docs
|
||||
Reference in New Issue
Block a user