If it is then it can be made part of the build process and the effect will be the same: the binary will not get built if the rules are violated.