Mercurial > piecrust2
view build/generate_messages.sh @ 223:7decf00eee47
serve: Don't expose the debug info right away when running with `--debug`.
The `--debug` flag controls logging level and how errors are reported by the
server. Appending `?!debug` now is the only thing that shows the debug window.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 03 Feb 2015 18:50:58 -0800 |
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