[TASK] add vendor for yanic client

This commit is contained in:
Martin Geno 2017-05-29 22:29:35 +02:00
parent c1d9386698
commit 376afc7494
No known key found for this signature in database
GPG Key ID: F0D39A37E925E941
3 changed files with 6 additions and 1 deletions

4
.gitmodules vendored Normal file
View File

@ -0,0 +1,4 @@
[submodule "vendor/github.com/FreifunkBremen/yanic"]
path = vendor/github.com/FreifunkBremen/yanic
url = https://github.com/FreifunkBremen/yanic
branch = database-socket

View File

@ -6,7 +6,7 @@ echo "mode: count" > profile.cov
FAIL=0 FAIL=0
# Standard go tooling behavior is to ignore dirs with leading underscors # Standard go tooling behavior is to ignore dirs with leading underscors
for dir in $(find . -maxdepth 10 -not -path './ssh' -not -path './.git*' -not -path '*/_*' -type d); for dir in $(find . -maxdepth 10 -not -path './ssh' -not -path './vendor/*' -not -path './.git*' -not -path '*/_*' -type d);
do do
if ls $dir/*.go &> /dev/null; then if ls $dir/*.go &> /dev/null; then
go test -p 1 -v -covermode=count -coverprofile=profile.tmp $dir || FAIL=$? go test -p 1 -v -covermode=count -coverprofile=profile.tmp $dir || FAIL=$?

1
vendor/github.com/FreifunkBremen/yanic generated vendored Submodule

@ -0,0 +1 @@
Subproject commit cf15adc69e24b20e295b0a766fb2128bc08da0c6