forked from drakkan/terraform-provider-sftpgo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
16 lines (11 loc) · 663 Bytes
/
Copy pathMakefile
File metadata and controls
16 lines (11 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
default: install
generate:
tfplugindocs generate --provider-name sftpgo
build:
go build -trimpath -ldflags "-s -w -X github.com/drakkan/terraform-provider-sftpgo/sftpgo.version=dev -X github.com/drakkan/terraform-provider-sftpgo/sftpgo.commit=`git describe --always --abbrev=8 --dirty`" -o terraform-provider-sftpgo
install:
go install -trimpath -ldflags "-s -w -X github.com/drakkan/terraform-provider-sftpgo/sftpgo.version=dev -X github.com/drakkan/terraform-provider-sftpgo/sftpgo.commit=`git describe --always --abbrev=8 --dirty`" .
test:
go test -v -count=1 -parallel=4 ./...
testacc:
TF_ACC=1 go test -v -count=1 -parallel=4 -timeout 10m -v ./...