view build/generate_messages.sh @ 95:cb6eadea0845

Fixed a bug with the `shallow` source. Add unit tests.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 07 Sep 2014 21:37:10 -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