On Wed, Aug 07, 2013 at 02:55:08PM -0700, Michael Norman wrote:
> I would like to run 'Cmake' whenever a particular project is checked-out: 
> i.e. not all projects, just a specific project.
> I thought - similar to various examples for running ctags or various other 
> utilities - I would put the 'Cmake' command in a
> .git/hooks/post-checkout bash script.
> 
> Is it possible to commit the script so that everyone 'inherits' this 
> behaviour?
> 
> I am using Gitlab 5.4  (running on Debian 7.1) is that makes any difference.
> Thanks in advance,

There is a bit of manual intervention necessary.  I suspect this is by
design since it's widely regarded as a "bad thing" when code is run
automatically as a side effect of some action ;-)

Also see: 
http://stackoverflow.com/questions/427207/can-git-hook-scripts-be-managed-along-with-the-repository

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus

Most software today is very much like an Egyptian pyramid with
millions of bricks piled on top of each other, with no structural
integrity, but just done by brute force and thousands of slaves.
     -- Alan Kay

Attachment: pgp2awJs_QxUH.pgp
Description: PGP signature

Reply via email to