view build/generate_messages.sh @ 93:28ea3e69d67e

Use the `OrderedDict` correctly when fresh-loading the app config.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 05 Sep 2014 00:42:52 -0700
parents f485ba500df3
children 04e3da2dd969
line wrap: on
line source

#!/bin/sh

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

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