view build/generate_messages.sh @ 80:838a9dd0e23c

Better date creation for blog post scaffolding.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 30 Aug 2014 18:30:50 -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