Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

vendor: adding dependency mgmt with dep #2394

Closed
wants to merge 4 commits into from
Closed
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
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ os:
go:
- 1.9

env:
- GOBIN=$GOPATH/bin

install:
- make dependencies
- test -z "$(go fmt ./...)"
- glyphcheck ./...
- test -z "$(go fmt $(go list ./... | grep -v vendor))"
- glyphcheck $(go list ./... | grep -v vendor)
- make dev

script: make test && make test-long && make cover && make bench
Expand Down
171 changes: 171 additions & 0 deletions Gopkg.lock

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

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

# 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]]
branch = "master"
name = "github.com/NebulousLabs/bolt"
#version = "1.0.0"

[[constraint]]
branch = "master"
name = "github.com/NebulousLabs/demotemutex"

[[constraint]]
branch = "master"
name = "github.com/NebulousLabs/entropy-mnemonics"

[[constraint]]
branch = "master"
name = "github.com/NebulousLabs/errors"

[[constraint]]
branch = "master"
name = "github.com/NebulousLabs/fastrand"

[[constraint]]
branch = "master"
name = "github.com/NebulousLabs/go-upnp"

[[constraint]]
branch = "master"
name = "github.com/NebulousLabs/merkletree"

[[constraint]]
branch = "master"
name = "github.com/NebulousLabs/muxado"

[[constraint]]
name = "github.com/bgentry/speakeasy"
version = "0.1.0"

[[constraint]]
branch = "master"
name = "github.com/inconshreveable/go-update"

[[constraint]]
name = "github.com/julienschmidt/httprouter"
version = "1.1.0"

[[constraint]]
branch = "master"
name = "github.com/kardianos/osext"

[[constraint]]
name = "github.com/klauspost/reedsolomon"
version = "1.6.0"

[[constraint]]
branch = "master"
name = "github.com/spf13/cobra"

[[constraint]]
name = "github.com/xtaci/smux"
version = "1.0.5"

[[constraint]]
branch = "master"
name = "golang.org/x/crypto"
26 changes: 3 additions & 23 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,12 @@ all: release-std
# dependencies installs all of the dependencies that are required for building
# Sia.
dependencies:
# Consensus Dependencies
go get -u github.com/NebulousLabs/demotemutex
go get -u github.com/NebulousLabs/fastrand
go get -u github.com/NebulousLabs/merkletree
go get -u github.com/NebulousLabs/bolt
go get -u golang.org/x/crypto/blake2b
go get -u golang.org/x/crypto/ed25519
# Module + Daemon Dependencies
go get -u github.com/NebulousLabs/entropy-mnemonics
go get -u github.com/NebulousLabs/errors
go get -u github.com/NebulousLabs/go-upnp
go get -u github.com/NebulousLabs/threadgroup
go get -u github.com/NebulousLabs/writeaheadlog
go get -u github.com/klauspost/reedsolomon
go get -u github.com/julienschmidt/httprouter
go get -u github.com/inconshreveable/go-update
go get -u github.com/kardianos/osext
go get -u github.com/inconshreveable/mousetrap
# Frontend Dependencies
go get -u golang.org/x/crypto/ssh/terminal
go get -u github.com/spf13/cobra/...
# Developer Dependencies
go install -race std
go get -u github.com/client9/misspell/cmd/misspell
go get -u github.com/golang/lint/golint
go get -u github.com/NebulousLabs/glyphcheck
go get -u github.com/golang/dep/cmd/dep
go install -race std
dep ensure && dep prune

# pkgs changes which packages the makefile calls operate on. run changes which
# tests are run during testing.
Expand Down
4 changes: 4 additions & 0 deletions vendor/github.com/NebulousLabs/bolt/.gitignore

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

20 changes: 20 additions & 0 deletions vendor/github.com/NebulousLabs/bolt/LICENSE

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

18 changes: 18 additions & 0 deletions vendor/github.com/NebulousLabs/bolt/Makefile

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

Loading