view util/generate_messages.cmd @ 558:9ab005db2592

serve: Improve reloading and shutdown of the preview server. See the huge comment block in the file for more infos.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 14 Aug 2015 21:26:51 -0700
parents f14796cbab0f
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