view build/generate_messages.sh @ 407:bd56d9acd6ef

debug: Add support for more attributes for the debug info. * `debug_render_not_empty`: don't render an "empty" label if not attributes or items have been rendered for an object. * `debug_render_doc_dynamic`: render dynamic doc-string.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 25 May 2015 18:36:44 -0700
parents 04e3da2dd969
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