view util/build/generate_messages.sh @ 452:55026b7bb1bf

tests: Fix Jinja2 test. Looks like Jinja is stripping rendered output, so now that we actually skip Jinja altogether when there's no `{` in the string, we need to adjust the tests.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 07 Jul 2015 19:58:07 -0700
parents 6b9f59b19db7
children
line wrap: on
line source

#!/bin/sh

CUR_DIR="$( cd "$( dirname "$0" )" && pwd )"
CHEF=${CUR_DIR}/../bin/chef
OUT_DIR=${CUR_DIR}/../piecrust/resources/messages
ROOT_DIR=${CUR_DIR}/messages

$CHEF --root=$ROOT_DIR bake -o $OUT_DIR
rm ${OUT_DIR}/index.html