Add vendoring for Homebrew

This commit is contained in:
Jason A. Donenfeld 2018-05-15 14:21:33 +02:00
parent cf161f270e
commit 0e4ebfa194
4 changed files with 58 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
wireguard-go
vendor

42
Gopkg.lock generated Normal file
View File

@ -0,0 +1,42 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
branch = "master"
name = "golang.org/x/crypto"
packages = [
"chacha20poly1305",
"internal/chacha20",
"poly1305",
"blake2s",
"curve25519"
]
revision = "1a580b3eff7814fc9b40602fd35256c63b50f491"
[[projects]]
branch = "master"
name = "golang.org/x/net"
packages = [
"bpf",
"internal/iana",
"internal/socket",
"ipv4",
"ipv6"
]
revision = "2491c5de3490fced2f6cff376127c667efeed857"
[[projects]]
branch = "master"
name = "golang.org/x/sys"
packages = [
"cpu",
"unix"
]
revision = "7c87d13f8e835d2fb3a70a2912c811ed0c1d241b"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "831221f90003ef3b3b4e8277051718f6c8094b04a9cf42ebe02f25e8af866657"
solver-name = "gps-cdcl"
solver-version = 1

15
Gopkg.toml Normal file
View File

@ -0,0 +1,15 @@
[[constraint]]
branch = "master"
name = "golang.org/x/crypto"
[[constraint]]
branch = "master"
name = "golang.org/x/sys"
[[constraint]]
branch = "master"
name = "golang.org/x/net"
[prune]
go-tests = true
unused-packages = true

View File

@ -5,7 +5,6 @@ BINDIR ?= $(PREFIX)/bin
all: wireguard-go
wireguard-go: $(wildcard *.go) $(wildcard */*.go)
go get -d -v
go build -v -o $@
install: wireguard-go