We don't have access to the server but we would like to run a code sniffer before submit the files to the depo. I know this is very simple having access to the server triggers but is there any possibility to have something like that in the client side? So if my script returns 1 it should cancel the submission operation.

有帮助吗?

解决方案

The Perforce Broker is a pretty nice tool for this: http://www.perforce.com/perforce/doc.current/manuals/p4sag/11_broker.html

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top