view build/generate_messages.sh @ 127:bc63dc20baa0

Fix how we pass the out directory to the baking modules.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 14 Nov 2014 22:47:18 +0100
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