diff2html/scripts/build-templates.sh
2019-12-22 17:58:47 +00:00

10 lines
297 B
Bash
Executable file

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