Eric Noulard wrote: > 2011/10/7 Stephen Kelly > <steve...@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. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers