Skip to content

Commit

Permalink
Merge pull request aws#621 from aws/fixBrokenBuild
Browse files Browse the repository at this point in the history
Fix broken build
  • Loading branch information
jasdel committed Apr 7, 2016
2 parents 6f62fc3 + 074973b commit 55ef961
Show file tree
Hide file tree
Showing 45 changed files with 107 additions and 12,721 deletions.
13 changes: 6 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ gen-endpoints:

build:
@echo "go build SDK and vendor packages"
@go build $(SDK_WITH_VENDOR_PKGS)
@go build ${SDK_ONLY_PKGS}

unit: get-deps-tests build verify
@echo "go test SDK and vendor packages"
@go test $(SDK_WITH_VENDOR_PKGS)
@go test $(SDK_ONLY_PKGS)

unit-with-race-cover: get-deps-tests build verify
@echo "go test SDK and vendor packages"
@go test -v -race -cpu=1,2,4 -covermode=atomic $(SDK_WITH_VENDOR_PKGS)
@go test -v -race -cpu=1,2,4 -covermode=atomic $(SDK_ONLY_PKGS)

integration: get-deps-tests integ-custom smoke-tests performance

Expand All @@ -78,13 +78,13 @@ verify: get-deps-verify lint vet

lint:
@echo "go lint SDK and vendor packages"
@lint=`if [ -z "${SDK_GO_1_4}" ]; then golint ./...; else echo "skipped"; fi`; \
@lint=`if [ -z "${SDK_GO_1_4}" ]; then golint ./...; else echo "skipping golint"; fi`; \
lint=`echo "$$lint" | grep -E -v -e ${LINTIGNOREDOT} -e ${LINTIGNOREDOC} -e ${LINTIGNORECONST} -e ${LINTIGNORESTUTTER} -e ${LINTIGNOREINFLECT} -e ${LINTIGNOREDEPS} -e ${LINTIGNOREINFLECTS3UPLOAD}`; \
echo "$$lint"; \
if [ "$$lint" != "" ] && [ "$$lint" != "skipped" ]; then exit 1; fi
if [ "$$lint" != "" ] && [ "$$lint" != "skipping golint" ]; then exit 1; fi

vet:
go tool vet -all -shadow $(shell if go version | grep -v 1.5 | grep -v 1.4 >> /dev/null; then echo "-example=false" | tr -d '\n'; fi) $(shell ls -d */ | grep -v vendor | grep -v awsmigrate)
@if [ -z "${SDK_GO_1_4}" ]; then go tool vet -all -shadow $(shell if go version | grep -v 1.5 | grep -v 1.4 >> /dev/null; then echo "-example=false" | tr -d '\n'; fi) $(shell ls -d */ | grep -v vendor | grep -v awsmigrate); else echo "skipping vet"; fi

get-deps: get-deps-tests get-deps-verify
@echo "go get SDK dependencies"
Expand All @@ -99,7 +99,6 @@ get-deps-tests:
get-deps-verify:
@echo "go get SDK verification utilities"
@if [ -z "${SDK_GO_1_4}" ]; then go get github.com/golang/lint/golint; else echo "skipped getting golint"; fi
go get golang.org/x/tools/cmd/vet

bench:
@echo "go bench SDK packages"
Expand Down
19 changes: 19 additions & 0 deletions awsmigrate/awsmigrate-renamer/Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions awsmigrate/awsmigrate-renamer/Godeps/Readme

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 0 additions & 27 deletions awsmigrate/awsmigrate-renamer/vendor/Godeps.json

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 55ef961

Please sign in to comment.