[cmake-developers] Setting the link interface and dependencies in one command
Stephen Kelly
steveire at gmail.com
Fri Oct 7 14:25:07 EDT 2011
Eric Noulard wrote:
> 2011/10/7 Stephen Kelly
> <steveire at gmail.com>:
>> Bill Hoffman wrote:
>
>>>>
>>> Please keep working on fixing the dashboard, there are a few style
>>> errors here:
>>> http://www.cdash.org/CDash/viewBuildError.php?buildid=1601031
>>>
>>> -Bill
>>>
>>
>> Hmm, hadn't noticed those.
>>
>> The link doesn't show useful information. How do I run those checks
>> locally?
>
> You may install kwstyle
> http://public.kitware.com/KWStyle/
> this may already be in you favorite linux distribution repository.
>
> and then configure git local hooks:
> http://www.cmake.org/Wiki/Git/Hooks
> look for:
> git config hooks.KWStyle true
>
> such that kwtyle is run as a pre-commit hook.
>
The instructions don't seem to work:
cmake/.git/hooks{cmake-link-interface-libraries}$ git branch -a | grep hooks
remotes/official/hooks
cmake/.git/hooks{cmake-link-interface-libraries}$ git pull ..
remotes/official/hooks
fatal: /usr/lib/git-core/git-pull cannot be used without a working tree.
cmake/.git/hooks{cmake-link-interface-libraries}$ git pull ../..
remotes/official/hooks
fatal: /usr/lib/git-core/git-pull cannot be used without a working tree.
cmake/.git/hooks{cmake-link-interface-libraries}$ git pull
git://public.kitware.com/cmake.git hooks
fatal: /usr/lib/git-core/git-pull cannot be used without a working tree.
cmake/.git/hooks{cmake-link-interface-libraries}$ git pull
git://cmake.org/cmake.git hooks
fatal: /usr/lib/git-core/git-pull cannot be used without a working tree.
More information about the cmake-developers
mailing list