code policies : before check in, must build succese in developer localhost

We would like to make use of the code analysis policy to verify the quality of code being checked-in.

My questions:

(1) Are there existing policies developed for build project in Developer localhost before check in?If can't build, will not check in.

(2) If not, how does one go about developing these policies

Thanks,



Answer this question

code policies : before check in, must build succese in developer localhost