Skip to content

Adds all lib dependencies in vendor/ #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
56 changes: 56 additions & 0 deletions Gopkg.lock

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

42 changes: 42 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"


[[constraint]]
name = "github.com/aws/aws-sdk-go"
version = "1.12.41"

[[constraint]]
branch = "master"
name = "github.com/cristim/ec2-instances-info"

[[constraint]]
name = "github.com/davecgh/go-spew"
version = "1.1.0"

[[constraint]]
branch = "master"
name = "github.com/eawsy/aws-lambda-go-core"

[[constraint]]
name = "github.com/namsral/flag"
version = "1.7.4-pre"
18 changes: 8 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
DEPS := "wget git go docker"
DEPS := "wget git go docker golint"

BINARY := autospotting
BINARY_PKG := ./core
GOFILES := $(shell find . -type f -name '*.go' -not -path "./vendor/*")
COVER_PROFILE := /tmp/coverage.out
BUCKET_NAME ?= cloudprowess
FLAVOR ?= nightly
Expand Down Expand Up @@ -64,22 +65,18 @@ upload: prepare_upload_data ## Upload binary
.PHONY: upload

vet-check: ## Verify vet compliance
ifeq ($(shell go tool vet -all -shadow=true . 2>&1 | wc -l), 0)
ifeq ($(shell go tool vet -all -shadow=true $(GOFILES) 2>&1 | wc -l), 0)
@printf "ok\tall files passed go vet\n"
else
@printf "error\tsome files did not pass go vet\n"
@go tool vet -all -shadow=true . 2>&1
@go tool vet -all -shadow=true $(GOFILES) 2>&1
endif
.PHONY: vet-check

fmt:
gofmt -l -s -w .
.PHONY: fmt

fmt-check: ## Verify fmt compliance
ifneq ($(shell gofmt -l -s . | wc -l), 0)
ifneq ($(shell gofmt -l -s $(GOFILES) | wc -l), 0)
@printf "error\tsome files did not pass go fmt, fix the following formatting diff or run 'make fmt'\n"
@gofmt -l -s -d .
@gofmt -l -s -d $(GOFILES)
@exit 1
else
@printf "ok\tall files passed go fmt\n"
Expand All @@ -91,7 +88,8 @@ test: ## Test go code and
.PHONY: test

lint:
@golint -set_exit_status=1 ./...
@golint -set_exit_status $(BINARY_PKG)
@golint -set_exit_status .
.PHONY: lint

full-test: fmt-check vet-check test lint ## Pass test / fmt / vet / lint
Expand Down
14 changes: 14 additions & 0 deletions vendor/github.com/aws/aws-sdk-go/.github/ISSUE_TEMPLATE.md

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

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

11 changes: 11 additions & 0 deletions vendor/github.com/aws/aws-sdk-go/.gitignore

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

14 changes: 14 additions & 0 deletions vendor/github.com/aws/aws-sdk-go/.godoc_config

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

29 changes: 29 additions & 0 deletions vendor/github.com/aws/aws-sdk-go/.travis.yml

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

Loading