Skip to content

Commit

Permalink
Fix - Install in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
GtheSheep authored Oct 30, 2021
2 parents 2f98227 + d9a2b3f commit 30733a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NAME=dbt-cloud
BINARY=terraform-provider-$(NAME)
VERSION=$(shell cat VERSION)
BINARY=terraform-provider-$(NAME)_v$(VERSION)

default: install

Expand All @@ -12,8 +12,8 @@ build:
go build -ldflags "-w -s" -o $(BINARY) .

install: build
mkdir -p ~/.terraform.d/plugins/gthesheep/dbt_cloud/0.1/darwin_amd64
mv $(BINARY) ~/.terraform.d/plugins/gthesheep/dbt_cloud/0.1/darwin_amd64/$(BINARY)
mkdir -p $(HOME)/.terraform.d/plugins
mv ./$(BINARY) $(HOME)/.terraform.d/plugins/$(BINARY)

docs:
go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
Expand Down

0 comments on commit 30733a4

Please sign in to comment.