File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,7 @@ TEST?=$$(go list ./... |grep -v 'vendor')
22GOFMT_FILES? =$$(find . -name '*.go' |grep -v vendor )
33WEBSITE_REPO =github.com/hashicorp/terraform-website
44PKG_NAME =sumologic
5- DEV_VERSION_NUMBER =2.7.1
65PLUGIN_DIR =~/.terraform.d/plugins
7- # PLUGIN_DIR_V13=~/.terraform.d/plugins/registry.terraform.io/sumologic/sumologic
8- PLUGIN_DIR_V13 =~/.terraform.d/providers/registry.terraform.io/sumologic/sumologic
9- PLUGIN_DIR_SUFFIX =$(DEV_VERSION_NUMBER ) /darwin_amd64
106
117default : build
128
@@ -21,14 +17,14 @@ install: fmtcheck
2117 mkdir -vp $(PLUGIN_DIR )
2218 go build -o $(PLUGIN_DIR ) /terraform-provider-sumologic
2319
24- # separate command for installing in the right directory for terraform v0.13+
25- install-v13 : fmtcheck
20+ # separate command for installing in the right directory for testing development changes
21+ install-dev : fmtcheck
2622 mkdir -vp $(PLUGIN_DIR )
27- go build -o $(PLUGIN_DIR_V13 ) / $( PLUGIN_DIR_SUFFIX ) /terraform-provider-sumologic
23+ go build -o $(PLUGIN_DIR ) /sumologic.com/dev/sumologic/1.0.0/darwin_amd64 /terraform-provider-sumologic
2824
2925uninstall :
3026 @rm -vf $(PLUGIN_DIR ) /terraform-provider-sumologic
31- @rm -vf $(PLUGIN_DIR_V13 ) / $( PLUGIN_DIR_SUFFIX ) /terraform-provider-sumologic
27+ @rm -vf $(PLUGIN_DIR ) /sumologic.com/dev/sumologic/1.0.0/darwin_amd64 /terraform-provider-sumologic
3228
3329errcheck :
3430 @sh -c " '$( CURDIR) /scripts/errcheck.sh'"
You can’t perform that action at this time.
0 commit comments