abigail-plugin-exit

abigail exit plugin

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
abigail-plugin-exit
0.1.24 years ago6 years agoMinified + gzip package size for abigail-plugin-exit in KB

Readme

Abigail Exit Plugin

<img src="https://img.shields.io/npm/v/abigail-plugin-exit.svg?style=flat-square">
<img src="http://img.shields.io/travis/abigailjs/abigail-plugin-exit.svg?style=flat-square">
<img src="https://img.shields.io/codeclimate/github/abigailjs/abigail-plugin-exit.svg?style=flat-square">
<img src="https://img.shields.io/codeclimate/coverage/github/abigailjs/abigail-plugin-exit.svg?style=flat-square">
<img src="https://img.shields.io/gemnasium/abigailjs/abigail-plugin-exit.svg?style=flat-square">

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