X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=96946f12b662eac2770171e567923e1a415f6d4a;hb=0fad171c0d79ad583c0faf5427e22d1d62a0a52d;hp=21368a2a555f1b32965e1372bd4c06209a1c320f;hpb=e62f2727d30cd7166d88447c234dd1f3586f11e0;p=nncp.git diff --git a/makedist.sh b/makedist.sh index 21368a2..96946f1 100755 --- a/makedist.sh +++ b/makedist.sh @@ -8,98 +8,26 @@ release=$1 git clone . $tmp/nncp-$release cd $tmp/nncp-$release git checkout v$release -rm -fr .git - -mod_name=$(sed -n 's/^module //p' src/go.mod) -mv src src.orig -mkdir -p src/$mod_name -mv src.orig/* src/$mod_name -rmdir src.orig - -mods=" -github.com/davecgh/go-xdr -github.com/dustin/go-humanize -github.com/flynn/noise -github.com/gorhill/cronexpr -github.com/hjson/hjson-go -github.com/klauspost/compress -go.cypherpunks.ru/balloon -golang.org/x/crypto -golang.org/x/net -golang.org/x/sys -" -for mod in $mods; do - 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 - chmod -R +w src/$mod -done - -cat > $tmp/includes < $tmp/includes < $tmp/excludes < doc/download.texi < $texi < $texi < $texi < $texi < $texi < $texi < $texi < $texi < Fingerprint: 92C2 F0AE FE73 208E 46BF F3DE 2B25 868E 75A1 A953 Please send questions regarding the use of NNCP, bug reports and patches -to mailing list: https://lists.cypherpunks.ru/pipermail/nncp-devel/ +to mailing list: http://lists.cypherpunks.ru/nncp_002ddevel.html EOF cat <