2019-08-31 22:00:04 +02:00
|
|
|
@echo off
|
|
|
|
capnp compile -ocsharp -I%cd% .\capnp\schema.capnp
|
|
|
|
if %ERRORLEVEL% neq 0 exit /b 1
|
2019-09-12 22:08:00 +02:00
|
|
|
if exist .\capnp\schema.capnp.cs (
|
|
|
|
del .\capnp\schema.capnp.cs
|
2019-08-31 22:00:04 +02:00
|
|
|
) else (
|
|
|
|
exit /b 2
|
|
|
|
)
|