X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=75b50e2fdb5983d07bdb504873dea7bd7b9dc396;hb=ab7c7eca0e53661f0ba904c2a6ba752990bea367;hp=d8ba2e8b0baec39ea56f8080c73caf857f4472d1;hpb=510478b83a2808262f7167fffe5296b489a2bf03;p=nncp.git diff --git a/makedist.sh b/makedist.sh index d8ba2e8..75b50e2 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 <