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
{{ message }}
This repository was archived by the owner on Aug 4, 2020. It is now read-only.
I think it would be a nice addition to automatically configure a root project.
And then you can buy into the "project" api when and if required.
For example this is what I originally started with, which of course did not work.
import{project,script,ScriptMode}from'@imba/runner';script('ping-serial',function(script){script.describe(`Pings googles dns servers, one after the other. Example usage: yarn imba run ping-serial `);script.mode(ScriptMode.Series);script.run('ping1');script.run('ping2');});script('ping-parallel',function(script){script.describe(`Pings googles dns servers, at the same time. Example usage: yarn imba run ping-parallel `);script.run('ping1');script.run('ping2');});script('ping1',function(script){script.cmd('ping -c 4 8.8.8.8');});script('ping2',function(script){script.cmd('ping -c 4 8.8.4.4');});
At the very least I think the README should make mention of the fact that at least one project MUST be defined.