Closed kcmerrill closed 7 years ago
I originally left this out on purpose, simply because I figured "I'll create a task that would test and then do ok/fail" but the problem with that logic is that it simply complicates the file with a bunch of unneeded tasks.
ok. So this is not done as this specified, but I added a "test" which will simply run a command and depending if the exit code is 1 or 0 will continue on.
This is actually working out better than I ever anticipated. Closing. We can revisit this later.
Lets create a "test" key.
We can tackle this many different ways(open to suggestions) but this would allow each task to test for something before continuing.
Depending on exit code would be then transferred to ok/fail tasks ...
A few ideas:
test: dir.exists whatever test: dir.older 15m test: dir.newer 15m test: app.exists wget
etc etc ...