Skip to content

Commit 272cfb5

Browse files
committed
Ignore the SDK in vendor config
- fixes issue: #18 by ignoring the function SDK through use of Gopkg.toml. If there are two nested vendor folders with the same dependency it causes a build error. Tested with a local build pairing with Michael Gasch Signed-off-by: Alex Ellis (VMware) <[email protected]>
1 parent 9c9b647 commit 272cfb5

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
build
22
test
33
test.yml
4-
5-
template
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Gopkg.toml
2+
3+
ignored = ["github.com/openfaas-incubator/go-function-sdk"]
4+
5+
[prune]
6+
go-tests = true
7+
unused-packages = true
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Gopkg.toml
2+
3+
ignored = ["github.com/openfaas-incubator/go-function-sdk"]
4+
5+
[prune]
6+
go-tests = true
7+
unused-packages = true

0 commit comments

Comments
 (0)