From c72c2cc00b2a9e2c7ce7ba0ff22908c209f24822 Mon Sep 17 00:00:00 2001 From: merakor Date: Sun, 20 Dec 2020 08:13:57 +0000 Subject: try out the redo build system FossilOrigin-Name: 6ca0330a7e548be4e516ad6c275b2878a1521d2de5263fd75defc16f8f52c93b --- bin/all.do | 2 ++ bin/clean.do | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 bin/all.do create mode 100644 bin/clean.do (limited to 'bin') diff --git a/bin/all.do b/bin/all.do new file mode 100644 index 0000000..aceda74 --- /dev/null +++ b/bin/all.do @@ -0,0 +1,2 @@ +. ../config.rc +redo-ifchange cpt-readlink cpt-stat diff --git a/bin/clean.do b/bin/clean.do new file mode 100644 index 0000000..6234248 --- /dev/null +++ b/bin/clean.do @@ -0,0 +1,2 @@ +. ../config.rc +rm -f -- ./*.o cpt-readlink cpt-stat .dep.* -- cgit v1.2.3 From 388586b7ceac1470e741b2967e5ba33c8d99ef7b Mon Sep 17 00:00:00 2001 From: merakor Date: Sun, 20 Dec 2020 21:20:58 +0000 Subject: bin: add tests FossilOrigin-Name: ec194605cd8c21140304faf47b67f419967b7606155d7afb0e6d9f83c7622d46 --- bin/test.do | 11 +++++++++++ default.do | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 bin/test.do (limited to 'bin') diff --git a/bin/test.do b/bin/test.do new file mode 100644 index 0000000..4794751 --- /dev/null +++ b/bin/test.do @@ -0,0 +1,11 @@ +. ../config.rc +redo all +exec >&2 + +./cpt-readlink . +./cpt-readlink .. +./cpt-readlink /bin +./cpt-stat /bin +./cpt-stat cpt-readlink.o + +PHONY diff --git a/default.do b/default.do index 9407c6e..6e2d555 100644 --- a/default.do +++ b/default.do @@ -38,7 +38,7 @@ case "$1" in mv "$1" "$3" ;; test) - redo src/test + redo src/test bin/test ;; src/clean) rm -f src/cpt-lib -- cgit v1.2.3