diff --git a/tests/25_lazy_reached_if.sh b/tests/25_lazy_reached_if.sh new file mode 100644 index 0000000..edb3701 --- /dev/null +++ b/tests/25_lazy_reached_if.sh @@ -0,0 +1,19 @@ + + +@goal a +@reached_if echo 'reached_if@a' ; false +@depends_on b + echo a + +@goal b +@reached_if echo 'reached_if@b' ; true +@depends_on c + echo b + +@goal c +@reached_if echo 'reached_if@c' ; false + echo c + +@goal d + echo d + diff --git a/tests/25_lazy_reached_if_loop.sh b/tests/25_lazy_reached_if_loop.sh new file mode 100644 index 0000000..dd44354 --- /dev/null +++ b/tests/25_lazy_reached_if_loop.sh @@ -0,0 +1,10 @@ + + +@goal a +@reached_if true +@depends_on b + echo a + +@goal b +@depends_on a + echo b