Mercurial > piecrust2
view util/build/generate_messages.sh @ 455:cb3446be44b7
bake: Abort "render first" jobs if we start using other pages.
This prevents the baker from having one worker stuck on a very long job, like
rendering the index page of a blog with lots and lots of posts.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 08 Jul 2015 22:51:29 -0700 |
parents | 6b9f59b19db7 |
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