Commits
macOS defaults to case unsensitive file systems, and both
build and BUILD collide.
This prevented lua_error from working properly. Turns out that, if
compiled for C++, luajit uses C++ exceptions instead of longjmp/setjmp
to unwind. Obviously this does not work with noexcept functions.
Follows the same convention as Go and dbt targets.
In case of typos or refactors, it is pretty easy to refer to build
targets from other BUILD.lua files that do not really exist anymore.
In this case, eagerly raising the error rather than waiting for a nil
value to reach somewhere inside the build rules is a much prefered
situation, since it allows us to actually diagnose the root problem at
the location it happens.
In case of typos or refactors, it is pretty easy to refer to build
targets from other BUILD.lua files that do not really exist anymore.
In this case, eagerly raising the error rather than waiting for a nil
value to reach somewhere inside the build rules is a much prefered
situation, since it allows us to actually diagnose the root problem at
the location it happens.