Skip to content
Yevhen Bobrov edited this page Apr 3, 2020 · 1 revision

Helper methods to control Nake's runner.

using static Nake.Session;

// will exit Nake with success code (0)
Exit();    

// will exit Nake with success code (0)
// and will print "Bye" message upon exit                
Exit("Bye");

// will exit Nake with failure code (-1)
Fail();

// will exit Nake with failure code (-1)
// and will print "Err" message upon exit                
Fail("Err");                
Clone this wiki locally