Remove fullsource and use the current (previous) commit hash instead
Regenerating the fullsource hash was a bit tedious. Instead, it makes a bit more sense to use the current commit hash as the header image. This uses sha1 nibbleart. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -7,9 +7,6 @@ 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
|
||||
@@ -23,3 +20,7 @@ while read infile; do
|
||||
done
|
||||
done
|
||||
done
|
||||
|
||||
# Additionally, create an SVG for the current commit hash
|
||||
echo "Generating examples/commithash.svg"
|
||||
python3 -m colorhash "$(git rev-parse HEAD)" --input-type hash --hash sha1 --matrix randomart --output-type svg --out examples/commithash.svg
|
||||
|
||||
Reference in New Issue
Block a user