Skip to content

Commit

Permalink
switch to go modules
Browse files Browse the repository at this point in the history
- commands used:
  GO111MODULE=on go mod init
  GO111MODULE=on go mod tidy
  • Loading branch information
Michael Cook authored and Michael Cook committed Sep 5, 2019
1 parent fed07f1 commit bbfdd29
Show file tree
Hide file tree
Showing 4 changed files with 489 additions and 20 deletions.
9 changes: 1 addition & 8 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@ GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)

default: build

build: vendor fmtcheck
build: fmtcheck
CGO_ENABLED=0 go install -ldflags '-w -extldflags "-static"'

GLIDE := $(shell command -v glide 2> /dev/null)
ifndef GLIDE
$(error "glide is not available. Install using `curl https://glide.sh/get | sh`" or if on Mac `brew install glide`)
endif
vendor: glide.yaml ## Install vendor dependencies
glide update --no-recursive

test: fmtcheck
go test -i $(TEST) || exit 1
echo $(TEST) | \
Expand Down
12 changes: 0 additions & 12 deletions glide.yaml

This file was deleted.

10 changes: 10 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module github.com/zambien/terraform-provider-apigee

go 1.13

require (
github.com/gofrs/uuid v3.2.0+incompatible
github.com/hashicorp/terraform v0.12.8
github.com/sethgrid/pester v0.0.0-20190127155807-68a33a018ad0 // indirect
github.com/zambien/go-apigee-edge v0.0.0-20190402181302-7d41f53971c1
)
Loading

0 comments on commit bbfdd29

Please sign in to comment.