forked from alphagov/terraform-provider-concourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
19 lines (15 loc) · 647 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: build
build: clean terraform-provider-concourse
.PHONY: clean
clean:
go clean
terraform-provider-concourse:
go build -o terraform-provider-concourse
.PHONY: install
install: terraform-provider-concourse
@mkdir -p ~/.terraform.d/plugins/$$(uname | tr '[:upper:]' '[:lower:]' | tr -d '[:digit:]')_amd64
@cp terraform-provider-concourse ~/.terraform.d/plugins/$$(uname | tr '[:upper:]' '[:lower:]' | tr -d '[:digit:]')_amd64
@echo Installed terraform provider into ~/.terraform.d/plugins/$$(uname | tr '[:upper:]' '[:lower:]' | tr -d '[:digit:]')_amd64
.PHONY: integration-tests
integration-tests:
go test -count 1 -v ./integration