We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f8c112f + 1a1dc34 commit 11c3109Copy full SHA for 11c3109
GNUmakefile
@@ -1,7 +1,12 @@
1
TEST?=$$(go list ./... |grep -v 'vendor')
2
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
3
WEBSITE_REPO=github.com/hashicorp/terraform-website
4
+HOSTNAME=codefresh.io
5
PKG_NAME=codefresh
6
+NAMESPACE=codefresh-io
7
+BINARY=terraform-provider-${PKG_NAME}
8
+VERSION=0.0.1
9
+OS_ARCH=darwin_amd64
10
11
default: build
12
@@ -12,6 +17,11 @@ tools:
17
13
18
build: fmtcheck
14
19
go install
20
+ go build -o ${BINARY}
21
+
22
+install: build
23
+ mkdir -p ~/.terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${PKG_NAME}/${VERSION}/${OS_ARCH}
24
+ mv ${BINARY} ~/.terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${PKG_NAME}/${VERSION}/${OS_ARCH}
15
25
16
26
fmt:
27
@echo "==> Fixing source code with gofmt..."
0 commit comments