rush-print-log-if-error-plugin
v0.1.1
Published
Rush plugin for print entire log if error log exists
Downloads
2,749
Readme
rush-print-log-if-error-plugin
Rush plugin for print entire log if error log exists
Prerequisite
Rush.js >= 5.57.0
Quick Start
- Enabling this rush plugin
Please follow the official doc to enable this plugin in your repo.
- Print log if error log exists
rush print-log-if-error
If <package_name>.build.error.log
exists, print the content of <package_name>.build.log
Advance Usage
#!/bin/bash
# logout if error
trap "node common/scripts/install-run-rush.js print-log-if-error" ERR
node common/scripts/install-run-rush.js build