view util/generate_messages.sh @ 488:a00750896316

themes: Improve CLI, add `deactivate` command. * `link` command renamed to `activate`. * `deactivate` command removes the active theme. * `info` command shows information about the active theme. Runs by default when doing `chef themes`.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 22 Jul 2015 21:32:54 -0700
parents f14796cbab0f
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