Usually you want to `git add` when you run gencommit.sh, so that has
been added.
Also, add ANSI output because I like to see what we're generating while
in the terminal.
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This is useful so we aren't wasting cycles generating examples that
don't need to be generated and we just cut to the chase
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This is so we aren't committing binary data to the git repository if
that data may get updated in the future because I decide to make changes
to algorithms, palettes, etc. It's still nice to get the png files
generated so they can stay.
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
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>
We don't reeeeaaaaally need PNG files for this, plus if we include PNGs
it will make the repository unwieldy and annoying.
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
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>
ANSI-based color output is available and now the default. Add a
-y / --output-type argument to select SVG or ANSI output. Also update
tools/genexamples.sh to use the SVG output type.
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This tool will go through the examples directory and generate an image
for all *.in files using every hash and matrix option.
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>