Skip to content

abigailjs/abigail-plugin-exit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abigail Exit Plugin

No installation

abigail built-in plugin

Usage

if the task is not specified and this plugin is enabled, it to exit in 1.

abby && echo pass || echo fail
#
#              _ |_ . _  _ .|
#             (_||_)|(_)(_|||    v1.0.0
#             _/                 a minimal task runner.
#
#                    github.com/abigailjs/abigail#usage
# fail

moreover. unless the task exit code are all 0, it to exit in 1.

abby test lint --no-watch && echo pass || echo fail
# ...
# +    1 ms @_@ task end test, lint. exit code 0, 1.
# +    1 ms @_@; i'm terribly sorry...
# fail

the latter is turned off by the abigail-plugin-watch.

See also

Development

Requirement global

  • NodeJS v5.7.0
  • Npm v3.7.1
git clone https://github.com/abigailjs/abigail-plugin-exit
cd abigail-plugin-exit
npm install

npm test

License

MIT