* Add Gopkg.* and vendor/ dir

* Add info about running dep ensure in readme
This commit is contained in:
Radu Matei 2018-12-05 15:41:16 +02:00 committed by Pankaj Garg
parent c65ad73391
commit 41a13764cd
4 changed files with 43 additions and 1 deletions

4
.gitignore vendored
View file

@ -21,4 +21,6 @@
# Files without extension (Linux binary, for example)
*
!/**/
!*.*
!*.*
# Golang vendor directory
vendor/

28
Gopkg.lock generated Normal file
View file

@ -0,0 +1,28 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
digest = "1:cdb899c199f907ac9fb50495ec71212c95cb5b0e0a8ee0800da0238036091033"
name = "github.com/mattn/go-runewidth"
packages = ["."]
pruneopts = "UT"
revision = "ce7b0b5c7b45a81508558cd1dba6bb1e4ddb51bb"
version = "v0.0.3"
[[projects]]
branch = "master"
digest = "1:01d9e47830ef6077fb6f91033b0e83f324ad5966d11ed3daa4a5822ace876dab"
name = "github.com/nsf/termbox-go"
packages = ["."]
pruneopts = "UT"
revision = "60ab7e3d12ed91bc1b2486559c4b3a6b62297577"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
input-imports = [
"github.com/mattn/go-runewidth",
"github.com/nsf/termbox-go",
]
solver-name = "gps-cdcl"
solver-version = 1

11
Gopkg.toml Normal file
View file

@ -0,0 +1,11 @@
[[constraint]]
name = "github.com/mattn/go-runewidth"
version = "0.0.3"
[[constraint]]
branch = "master"
name = "github.com/nsf/termbox-go"
[prune]
go-tests = true
unused-packages = true

View file

@ -25,6 +25,7 @@ Note: go version 1.10 or higher is required building it from the source.
```bash
git clone https://github.com/Microsoft/ethr.git
cd ethr
dep ensure -v
go build
```