Mercurial > piecrust2
view build/generate_messages.cmd @ 281:0641fe5c3ef9
serve: Don't crash when a post URL doesn't match our expectations.
It can happen that a posts source's URL pattern matches that of something else,
like a taxonomy page. In this case, don't crash when what we think will be
integers turn out to be something else. Instead, just return that no page has
been found.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 01 Mar 2015 21:41:05 -0800 |
parents | 04e3da2dd969 |
children |
line wrap: on
line source
@echo off setlocal set CUR_DIR=%~dp0 set CHEF=%CUR_DIR%..\bin\chef set OUT_DIR=%CUR_DIR%..\piecrust\resources\messages set ROOT_DIR=%CUR_DIR%messages %CHEF% --root=%ROOT_DIR% bake -o %OUT_DIR% del %OUT_DIR%\index.html