Skip to content

Commit

Permalink
Merge pull request #123 from hryamzik/install_targer
Browse files Browse the repository at this point in the history
Added install and uninstall make targets
  • Loading branch information
masci authored Nov 26, 2018
2 parents 31a25eb + fc99f4f commit c20303e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@ TEST?=$$(go list ./... |grep -v 'vendor')
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
WEBSITE_REPO=github.com/hashicorp/terraform-website
PKG_NAME=datadog
DIR=~/.terraform.d/plugins

default: build

build: fmtcheck
go install

install: fmtcheck
mkdir -vp $(DIR)
go build -o $(DIR)/terraform-provider-datadog

uninstall:
@rm -vf $(DIR)/terraform-provider-datadog

test: fmtcheck
go test -i $(TEST) || exit 1
echo $(TEST) | \
Expand Down

0 comments on commit c20303e

Please sign in to comment.