Mercurial > piecrust2
view build/generate_messages.cmd @ 262:61145dcd56e0
routing: Better generate URLs according to the site configuration.
This fixes problems now that even the chef server generates URLs that are
appropriate given the `pretty_urls` and `trailing_slash` settings.
Add some tests.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 24 Feb 2015 08:06:25 -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