Added `--dont-stop` command line option
- To try to continue even on errors Related to #209
This commit is contained in:
parent
a3bf56c39a
commit
95a48a8922
|
|
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Imports:
|
||||
- Now you can nest imports (import from an imported file) (#218)
|
||||
- Preflights can be imported (#181)
|
||||
- `--dont-stop` command line option, to try to continue even on errors (#209)
|
||||
|
||||
### Fixed
|
||||
- OAR computation (Report) (#225)
|
||||
|
|
|
|||
|
|
@ -3272,7 +3272,7 @@ kibot --list
|
|||
KiBot: KiCad automation tool for documents generation
|
||||
|
||||
Usage:
|
||||
kibot [-b BOARD] [-e SCHEMA] [-c CONFIG] [-d OUT_DIR] [-s PRE]
|
||||
kibot [-b BOARD] [-e SCHEMA] [-c CONFIG] [-d OUT_DIR] [-s PRE] [-D]
|
||||
[-q | -v...] [-C | -i | -n] [-m MKFILE] [-A] [-g DEF] ... [TARGET...]
|
||||
kibot [-v...] [-b BOARD] [-e SCHEMA] [-c PLOT_CONFIG] --list
|
||||
kibot [-v...] [-b BOARD] [-d OUT_DIR] [-p | -P] --example
|
||||
|
|
@ -3297,6 +3297,7 @@ Options:
|
|||
-c CONFIG, --plot-config CONFIG The plotting config file to use
|
||||
-C, --cli-order Generate outputs using the indicated order
|
||||
-d OUT_DIR, --out-dir OUT_DIR The output directory [default: .]
|
||||
-D, --dont-stop Try to continue if an output fails
|
||||
-e SCHEMA, --schematic SCHEMA The schematic file (.sch)
|
||||
-g DEF, --global-redef DEF Overwrite a global value (VAR=VAL)
|
||||
-i, --invert-sel Generate the outputs not listed as targets
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
"""KiBot: KiCad automation tool for documents generation
|
||||
|
||||
Usage:
|
||||
kibot [-b BOARD] [-e SCHEMA] [-c CONFIG] [-d OUT_DIR] [-s PRE]
|
||||
kibot [-b BOARD] [-e SCHEMA] [-c CONFIG] [-d OUT_DIR] [-s PRE] [-D]
|
||||
[-q | -v...] [-C | -i | -n] [-m MKFILE] [-A] [-g DEF] ... [TARGET...]
|
||||
kibot [-v...] [-b BOARD] [-e SCHEMA] [-c PLOT_CONFIG] --list
|
||||
kibot [-v...] [-b BOARD] [-d OUT_DIR] [-p | -P] --example
|
||||
|
|
@ -33,6 +33,7 @@ Options:
|
|||
-c CONFIG, --plot-config CONFIG The plotting config file to use
|
||||
-C, --cli-order Generate outputs using the indicated order
|
||||
-d OUT_DIR, --out-dir OUT_DIR The output directory [default: .]
|
||||
-D, --dont-stop Try to continue if an output fails
|
||||
-e SCHEMA, --schematic SCHEMA The schematic file (.sch)
|
||||
-g DEF, --global-redef DEF Overwrite a global value (VAR=VAL)
|
||||
-i, --invert-sel Generate the outputs not listed as targets
|
||||
|
|
@ -333,7 +334,8 @@ def main():
|
|||
generate_makefile(args.makefile, plot_config, outputs)
|
||||
else:
|
||||
# Do all the job (preflight + outputs)
|
||||
generate_outputs(outputs, args.target, args.invert_sel, args.skip_pre, args.cli_order, args.no_priority)
|
||||
generate_outputs(outputs, args.target, args.invert_sel, args.skip_pre, args.cli_order, args.no_priority,
|
||||
dont_stop=args.dont_stop)
|
||||
# Print total warnings
|
||||
logger.log_totals()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue