Mercurial > piecrust2
view build/generate_messages.cmd @ 247:d9d5c5de02a8
data: Add a top level wrapper for `Linker`.
The `family` object is special in that it's "attached" to the current page, so make an object dedicated to that. It removes special code in `Linker`, and makes it possible to go `family.children` directly to get a page's children (i.e. pages in a directory of the same name).
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 19 Feb 2015 23:33:54 -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