view build/generate_messages.sh @ 83:f9f67086415c

Allow adding to the default content model instead of replacing it. Allow dot and slash notation for data endpoints.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 01 Sep 2014 22:49:56 -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