go-org-orgwiki/etc/generate-html-fixtures
Niklas Fasching 9826aa2143 Add make target to automatically regenerate html fixtures
After changing something the fixtures need to be updated to reflect the new
output. This just moves those steps from my bash history to make.
2018-12-11 15:42:41 +01:00

5 lines
132 B
Bash
Executable file

#!/bin/bash
for org_file in org/testdata/*.org; do
./go-org $org_file html > org/testdata/$(basename $org_file .org).html
done