From: Sergey Matveev Date: Sun, 26 Nov 2023 07:53:00 +0000 (+0300) Subject: clean target has no dependencies X-Git-Tag: v2.5.0~2 X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=commitdiff_plain;h=20b5988dd315945c5a8befadb873f5069480e862 clean target has no dependencies --- diff --git a/t/clean b/t/clean new file mode 100755 index 0000000..14a4370 --- /dev/null +++ b/t/clean @@ -0,0 +1,6 @@ +#!/bin/sh -e + +cd "$(dirname "$(realpath -- "$0")")" +redo apenwarr/clean +( cd redo-sh.tests ; ./clean ) +for d in apenwarr redo-sh.tests ; do ( cd $d ; redo-cleanup full >/dev/null ) ; done diff --git a/t/clean.do b/t/clean.do deleted file mode 100644 index 80f432d..0000000 --- a/t/clean.do +++ /dev/null @@ -1,2 +0,0 @@ -redo apenwarr/clean redo-sh.tests/clean -for d in apenwarr redo-sh.tests ; do ( cd $d ; redo-cleanup full >/dev/null ) ; done diff --git a/t/redo-sh.tests/clean.do b/t/redo-sh.tests/clean old mode 100644 new mode 100755 similarity index 85% rename from t/redo-sh.tests/clean.do rename to t/redo-sh.tests/clean index dec6f7b..9e80172 --- a/t/redo-sh.tests/clean.do +++ b/t/redo-sh.tests/clean @@ -1,3 +1,5 @@ +#!/bin/sh -e + for f in * ; do [ -d $f ] || continue find $f ! -name test -delete