view util/generate_messages.cmd @ 492:d90ccdf18156

tests: Fix processing tests on Windows. See the comment in `pipeline.py` for more info but basically I was passing already initialized processors to the worker pool, which means pickling the whole app. Pretty bad. Interesting that it only broke on Windows, though.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 23 Jul 2015 22:07:32 -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