Reputation: 117
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.
Upvotes: 5
Views: 1174
Reputation: 16359
The Perforce Broker is a pretty nice tool for this: http://www.perforce.com/perforce/doc.current/manuals/p4sag/11_broker.html
Upvotes: 3