Skip to content

Commit

Permalink
fix(Makefile): add mkdir command for build-local command
Browse files Browse the repository at this point in the history
  • Loading branch information
blurrah committed Apr 23, 2021
1 parent 28230bb commit ea8d7ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ build:
# see: https://discuss.hashicorp.com/t/easiest-way-to-use-a-local-custom-provider-with-terraform-0-13/12691/5
build-local:
go build -o terraform-provider-amplience_${LOCAL_TEST_VERSION}
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/labd/amplience/${LOCAL_TEST_VERSION}/${OS_ARCH}
cp terraform-provider-amplience_${LOCAL_TEST_VERSION} ~/.terraform.d/plugins/registry.terraform.io/labd/amplience/${LOCAL_TEST_VERSION}/${OS_ARCH}/terraform-provider-amplience_v${LOCAL_TEST_VERSION}

format:
Expand Down

0 comments on commit ea8d7ec

Please sign in to comment.