diff2html/scripts/build-templates.sh
2019-12-22 18:00:45 +00:00

10 lines
295 B
Bash
Executable file

#!/usr/bin/env bash
set -e
SCRIPT_DIRECTORY="$( cd "$( dirname "$0" )" && pwd )"
node ${SCRIPT_DIRECTORY}/../build/scripts/hulk.js \
--wrapper ts \
--variable 'defaultTemplates' \
${SCRIPT_DIRECTORY}/../src/templates/*.mustache > ${SCRIPT_DIRECTORY}/../src/diff2html-templates.ts