]> Cypherpunks.ru repositories - nncp.git/commitdiff
Do not include huge Noise testvectors in tarball
authorSergey Matveev <stargrave@stargrave.org>
Wed, 13 Nov 2019 19:08:42 +0000 (22:08 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 13 Nov 2019 19:16:29 +0000 (22:16 +0300)
doc/download.texi
makedist.sh

index 7366ca7a5ea744b6ea65cf8d80ee25334acf3427..f675b2d772a6021875f330e8244b60c6bc09515b 100644 (file)
@@ -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
index 67419a18a788da504b1509c01b18433bbf8ab7cd..311c2daec523c8e535baaf25c1419cc06a091ff9 100755 (executable)
@@ -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