jet / falanx

Generates F# code from protobuf schema for binary and json format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Schema compile error does not cause build to fail

vchekan opened this issue · comments

Describe the bug
When there is an error in schema, msbuild by default does not check error code of Exec command and as result, compiler will fail with semi-random error, which makes it hard to troubleshoot.

To Reproduce
Delete .fs file.
Make intentional syntax error in .proto file.
Compile and observe error saying that .fs file is missing.

Expected behavior
Error should should indicate that failure happen in schema compilation and not in .fs file compilation.

can repro

fixed and added tests