From 70d532b5982c2203286c901f29fb462d7d88c0f7 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 23 Mar 2023 13:38:39 +0300 Subject: [PATCH] No redo for simplicity That is too simple project. --- all.do | 1 - doc/clean.do | 1 - doc/install.texi | 8 +------- main.go | 2 +- makedist | 7 ++----- test.do | 1 - 6 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 all.do delete mode 100644 doc/clean.do delete mode 100644 test.do diff --git a/all.do b/all.do deleted file mode 100644 index 0b4598e..0000000 --- a/all.do +++ /dev/null @@ -1 +0,0 @@ -redo-ifchange gocheese doc/gocheese.info diff --git a/doc/clean.do b/doc/clean.do deleted file mode 100644 index 2c778e3..0000000 --- a/doc/clean.do +++ /dev/null @@ -1 +0,0 @@ -rm -f gocheese.info diff --git a/doc/install.texi b/doc/install.texi index 163e31e..244078e 100644 --- a/doc/install.texi +++ b/doc/install.texi @@ -15,15 +15,9 @@ $ [fetch|wget] http://www.gocheese.cypherpunks.ru/download/gocheese-@value{VERSI $ gpg --verify gocheese-@value{VERSION}.tar.zst.sig gocheese-@value{VERSION}.tar.zst $ zstd -d < gocheese-@value{VERSION}.tar.zst | tar xf - $ cd gocheese-@value{VERSION} -$ redo test all # or go build -mod=vendor +$ go build -mod=vendor @end example -It uses @url{http://cr.yp.to/redo.html, redo} build system for that -examples. You can use either dozen of various implementations, or at -least minimalistic POSIX shell @command{contrib/do} (just replace -@command{redo} with @command{contrib/do} in the example above) included -in tarball. - @include download.texi You @strong{have to} verify downloaded tarballs integrity and diff --git a/main.go b/main.go index c14906f..b2d3250 100644 --- a/main.go +++ b/main.go @@ -44,7 +44,7 @@ import ( ) const ( - Version = "3.7.0" + Version = "3.7.1" UserAgent = "GoCheese/" + Version ) diff --git a/makedist b/makedist index 1a5bdbd..e5af339 100755 --- a/makedist +++ b/makedist @@ -41,15 +41,12 @@ mkinfo --output ../INSTALL $texi rm $texi cd .. -rm -rf .git .gitignore doc/.gitignore doc/style.css makedist.sh doc/www.do VERSION.do +rm -rf .git .gitignore doc/.gitignore doc/style.css makedist doc/www.do VERSION.do redo-cleanup full -perl -i -npe "s/go} build/go} build -mod=vendor/" gocheese.do -perl -i -npe "s/go} test/go} test -mod=vendor/" test.do -cp ~/work/redo/apenwarr/minimal/do contrib/do find . -type d -exec chmod 755 {} + find . -type f -exec chmod 644 {} + -chmod +x contrib/pyshop2packages.sh contrib/do +chmod +x contrib/pyshop2packages.sh cd .. tar cvf gocheese-"$release".tar --uid=0 --gid=0 --numeric-owner gocheese-"$release" diff --git a/test.do b/test.do deleted file mode 100644 index 21eb21b..0000000 --- a/test.do +++ /dev/null @@ -1 +0,0 @@ -${GO:-go} test ./... >&2 -- 2.44.0