python build_examples.pyto build generated files in all groups.python build_examples.py compareto compare generated files in all groups against the last commit.python build_examples.py cleanto delete generated files in all groups.python build_examples.py restoreto restore generated files in all groups from the last commit.python build_examples.py -Vor--versionto display the WireViz version.python build_examples.py -hor--helpto see a summary of the usage help text.
-
Append
-bor--branchfollowed by a specified branch or commit to compare with or restore from (default: The last commit in the current branch). -
Append
-cor--compare-graphviz-outputto thecomparecommand above to also compare the Graphviz output (default: False). -
Append
-gor--groupsfollowed by space separated group names to any command above, and the set of generated files affected by the command will be limited to the selected groups. Possible group names:examplesto processexamples/{readme.md,ex*.*}tutorialto processtutorial/{readme.md,tutorial*.*}demosto processexamples/demo*.*
Affected filetypes:
.gv,.bom.tsv,.png,.svg,.html
- Run
python build_examples.pyafter any code changes to verify that it still is possible to process YAML-input from all groups without errors. - Run
python build_examples.py compareafter the rebuilding above to verify that the output differences are as expected after a code change. - Run
python build_examples.py restorebefore adding and committing to avoid including changes to generated files after the rebuilding above.