You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where if the compilation fails, it will not run a.out. I tried doing this with nake, e.g.:
nake && ./test
But regardless if the compilation failed or not, nake will always return 0, meaning that what's after the && will always run. Which sucks because the executable might not reflect the changes I just made.
Can you add this into nake? I would be very appreciative of this.
The text was updated successfully, but these errors were encountered:
import nake
task"failure", "always fails":
echo"Let's do something good"dire_shell"nim c special.nim"echo"Happy Nim!"task"success", "too big to fail":
echo"I love rescuing private banks with public money"shell"let people complain"echo"Banks rescued!"task default_task, "Lists stuff":
list_tasks()
Okay, In wasn't away of that and it gives off of the effect that I want. Can I recommend changing the example in the README to use direShell() instead of shell()?
Usually I like to use
make
like this:make && ./a.out
Where if the compilation fails, it will not run
a.out
. I tried doing this withnake
, e.g.:nake && ./test
But regardless if the compilation failed or not, nake will always return
0
, meaning that what's after the&&
will always run. Which sucks because the executable might not reflect the changes I just made.Can you add this into nake? I would be very appreciative of this.
The text was updated successfully, but these errors were encountered: