Add full source code to example generation
This will just do a `cat` of all Python files in the colorhash/ directory and shove it into a fullsource.in file. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user