From: Sergey Matveev Date: Wed, 13 Nov 2019 19:08:42 +0000 (+0300) Subject: Do not include huge Noise testvectors in tarball X-Git-Tag: v5.0.0^2~9 X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=commitdiff_plain;h=ce1af96148a072785880cf96b131c5ea468932fd Do not include huge Noise testvectors in tarball --- diff --git a/doc/download.texi b/doc/download.texi index 7366ca7..f675b2d 100644 --- a/doc/download.texi +++ b/doc/download.texi @@ -11,7 +11,6 @@ Tarballs include all necessary required libraries: @item @code{github.com/davecgh/go-xdr} @tab ISC @item @code{github.com/dustin/go-humanize} @tab MIT @item @code{github.com/flynn/noise} @tab BSD 3-Clause -@item @code{github.com/go-check/check} @tab BSD 2-Clause @item @code{github.com/gorhill/cronexpr} @tab GNU GPLv3 @item @code{github.com/hjson/hjson-go} @tab MIT @item @code{go.cypherpunks.ru/balloon} @tab GNU LGPLv3 diff --git a/makedist.sh b/makedist.sh index 67419a1..311c2da 100755 --- a/makedist.sh +++ b/makedist.sh @@ -28,7 +28,7 @@ golang.org/x/net golang.org/x/sys " for mod in $mods; do - mod_path=$(sed -n "s#^ \($mod\) \(.*\)\$#\1@\2#p" src/$mod_name/go.mod) + mod_path=$(sed -n "s# // indirect## ; s#^ \($mod\) \(.*\)\$#\1@\2#p" src/$mod_name/go.mod) [ -n "$mod_path" ] mkdir -p src/$mod ( cd $GOPATH/pkg/mod/$mod_path ; tar cf - --exclude ".git*" * ) | tar xfC - src/$mod @@ -77,6 +77,8 @@ mv $tmp/golang.org src find src -name .travis.yml -delete rm -fr src/github.com/davecgh/go-xdr/xdr +rm -r src/github.com/flynn/noise/vector* +rm src/github.com/hjson/hjson-go/build_release.sh rm src/github.com/gorhill/cronexpr/APLv2 rm -fr ports rm makedist.sh