From a2f25c2f3b5bb4e048a052e5b1acc544216b421a Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 6 Jan 2017 18:59:55 -0800 Subject: [PATCH] Remove references for GO15VENDOREXPERIMENT=1 --- Makefile | 56 ++++++++++++++++++++++++++-------------------------- appveyor.yml | 1 - 2 files changed, 28 insertions(+), 29 deletions(-) diff --git a/Makefile b/Makefile index 1e0d478f..5940d0ad 100644 --- a/Makefile +++ b/Makefile @@ -18,53 +18,53 @@ verifiers: vet fmt lint cyclo deadcode spelling vet: @echo "Running $@:" - @GO15VENDOREXPERIMENT=1 go tool vet -all *.go - @GO15VENDOREXPERIMENT=1 go tool vet -all ./cmd - @GO15VENDOREXPERIMENT=1 go tool vet -all ./pkg - @GO15VENDOREXPERIMENT=1 go tool vet -shadow=true *.go - @GO15VENDOREXPERIMENT=1 go tool vet -shadow=true ./cmd - @GO15VENDOREXPERIMENT=1 go tool vet -shadow=true ./pkg + @go tool vet -all *.go + @go tool vet -all ./cmd + @go tool vet -all ./pkg + @go tool vet -shadow=true *.go + @go tool vet -shadow=true ./cmd + @go tool vet -shadow=true ./pkg spelling: - @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/misspell *.go - @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/misspell cmd/* - @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/misspell pkg/**/* + @${GOPATH}/bin/misspell *.go + @${GOPATH}/bin/misspell cmd/* + @${GOPATH}/bin/misspell pkg/**/* fmt: @echo "Running $@:" - @GO15VENDOREXPERIMENT=1 gofmt -s -l *.go - @GO15VENDOREXPERIMENT=1 gofmt -s -l cmd - @GO15VENDOREXPERIMENT=1 gofmt -s -l pkg + @gofmt -s -l *.go + @gofmt -s -l cmd + @gofmt -s -l pkg lint: @echo "Running $@:" - @GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/golint . - @GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/golint github.com/minio/mc/cmd... - @GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/golint github.com/minio/mc/pkg... + @$(GOPATH)/bin/golint . + @$(GOPATH)/bin/golint github.com/minio/mc/cmd... + @$(GOPATH)/bin/golint github.com/minio/mc/pkg... cyclo: @echo "Running $@:" - @GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/gocyclo -over 40 cmd - @GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/gocyclo -over 40 pkg + @$(GOPATH)/bin/gocyclo -over 40 cmd + @$(GOPATH)/bin/gocyclo -over 40 pkg deadcode: @echo "Running $@:" - @GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/deadcode + @$(GOPATH)/bin/deadcode build: getdeps verifiers test: getdeps verifiers @echo "Running all testing:" - @GO15VENDOREXPERIMENT=1 go test $(GOFLAGS) github.com/minio/mc/cmd... - @GO15VENDOREXPERIMENT=1 go test $(GOFLAGS) github.com/minio/mc/pkg... + @go test $(GOFLAGS) github.com/minio/mc/cmd... + @go test $(GOFLAGS) github.com/minio/mc/pkg... gomake-all: build @echo "Installing mc:" - @GO15VENDOREXPERIMENT=1 go build --ldflags "$(LDFLAGS)" -o $(GOPATH)/bin/mc + @go build --ldflags "$(LDFLAGS)" -o $(GOPATH)/bin/mc @mkdir -p $(HOME)/.mc coverage: getdeps verifiers @echo "Running all coverage:" - @GO15VENDOREXPERIMENT=1 ./buildscripts/go-coverage.sh + @./buildscripts/go-coverage.sh pkg-validate-arg-%: ; ifndef PKG @@ -72,16 +72,16 @@ ifndef PKG endif pkg-add: pkg-validate-arg-add - @GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/govendor add $(PKG) + @$(GOPATH)/bin/govendor add $(PKG) pkg-update: pkg-validate-arg-update - @GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/govendor update $(PKG) + @$(GOPATH)/bin/govendor update $(PKG) pkg-remove: pkg-validate-arg-remove - @GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/govendor remove $(PKG) + @$(GOPATH)/bin/govendor remove $(PKG) pkg-list: - @GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/govendor list + @$(GOPATH)/bin/govendor list install: gomake-all @@ -90,10 +90,10 @@ all-tests: test #@./tests/test-minio.sh release: verifiers - @MC_RELEASE=RELEASE GO15VENDOREXPERIMENT=1 ./buildscripts/build.sh + @MC_RELEASE=RELEASE ./buildscripts/build.sh experimental: verifiers - @MC_RELEASE=EXPERIMENTAL GO15VENDOREXPERIMENT=1 ./buildscripts/build.sh + @MC_RELEASE=EXPERIMENTAL ./buildscripts/build.sh clean: @rm -f cover.out diff --git a/appveyor.yml b/appveyor.yml index 649bdfd4..3e16dd95 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,7 +9,6 @@ clone_folder: c:\gopath\src\github.com\minio\mc # environment variables environment: GOPATH: c:\gopath - GO15VENDOREXPERIMENT: 1 # scripts that run after cloning repository install: