view build/generate_messages.cmd @ 223:7decf00eee47

serve: Don't expose the debug info right away when running with `--debug`. The `--debug` flag controls logging level and how errors are reported by the server. Appending `?!debug` now is the only thing that shows the debug window.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 03 Feb 2015 18:50:58 -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