diff --git a/docs/CASE_2020/Makefile b/docs/CASE_2020/Makefile index 97d49a20..b04dbe89 100644 --- a/docs/CASE_2020/Makefile +++ b/docs/CASE_2020/Makefile @@ -38,7 +38,7 @@ $(TEXFILE).ps : $(TEXFILE).dvi $(TEXFILE).pdf : $(TEXFILE).ps ps2pdf $(PS2PDF_OPTS) $(TEXFILE).ps - + $(TEXFILE).dvi : $(TEXFILE).tex utic.bib latex $(TEXFILE).tex @@ -47,7 +47,7 @@ $(TEXFILE).dvi : $(TEXFILE).tex utic.bib echo "SECONDRUN" 1>&2 latex $(TEXFILE).tex latex $(TEXFILE).tex - + aspell: $(TEXFILE).tex aspell -t --encoding=iso8859-1 -c $(TEXFILE).tex @@ -55,7 +55,7 @@ force: touch $(TEXFILE).tex make -eps: +eps: make -C img eps cleanall: clean cleaneps diff --git a/docs/samples/generic_plot.kibot.yaml b/docs/samples/generic_plot.kibot.yaml index d9b1f775..bef31b40 100644 --- a/docs/samples/generic_plot.kibot.yaml +++ b/docs/samples/generic_plot.kibot.yaml @@ -11,7 +11,7 @@ preflight: # [boolean=false] Option for `run_erc`. ERC warnings are considered errors. erc_warnings: false # [list(dict)] A list of entries to filter out ERC/DRC messages. - filters: + filters: - filter: 'Filter description' error: '10' regex: 'Regular expression to match' @@ -19,7 +19,7 @@ preflight: ignore_unconnected: false # [dict] Replaces tags in the schematic. I.e. to insert the git hash or last revision date. # This pre-flight modifies the PCB. Even when a back-up is done use it carefully. - pcb_replace: + pcb_replace: date_command: "git log -1 --format='%as' -- $KIBOT_PCB_NAME" replace_tags: - tag: '@git_hash@' @@ -35,7 +35,7 @@ preflight: run_erc: true # [dict] Replaces tags in the schematic. I.e. to insert the git hash or last revision date. # This pre-flight modifies the schematics. Even when a back-up is done use it carefully. - sch_replace: + sch_replace: date_command: "git log -1 --format='%as' -- $KIBOT_SCH_NAME" replace_tags: - tag: '@git_hash@' diff --git a/entrypoint.sh b/entrypoint.sh index 0eada584..596d1c7b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -138,7 +138,7 @@ function args_process { help exit ;; - *) + *) illegal_arg "$@" exit $EXIT_ERROR ;; @@ -159,7 +159,7 @@ function run { else echo "config file '$CONFIG' not found!" exit $EXIT_ERROR - fi + fi } function main {