diff --git a/tools/genexamples.sh b/tools/genexamples.sh index 9e51436..b2c2bd3 100755 --- a/tools/genexamples.sh +++ b/tools/genexamples.sh @@ -7,6 +7,9 @@ matrices=(nibble randomart) cd "$here/.." +# Additionally, get the full source code output as an "in" file, and use that as an example too. +find "colorhash" -type f -name '*.py' -exec cat '{}' ';' >examples/fullsource.in + find "examples" -type f -name '*.in' | \ while read infile; do for hash in "${hashes[@]}"; do