X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/65f2d0ee3e36c86770abe9196990f0a40b4b8221..f347146ce7c60a31fd5a25e86fee4658e2b932d1:/doc/doxygen/inside.doc diff --git a/doc/doxygen/inside.doc b/doc/doxygen/inside.doc index 7a04432ec4..0ef01a83f1 100644 --- a/doc/doxygen/inside.doc +++ b/doc/doxygen/inside.doc @@ -44,8 +44,11 @@ to install the relevant tool to ensure that your changes follow our coding standards: @verbatim -sudo apt-get install clang-format-3.8 -ln -s $PWD/tools/git-hooks/clang-format.pre-commit .git/hooks/pre-commit +# install clang-format +sudo apt-get install clang-format-3.8 # debian + +# tell git to call the script on each commit +ln -s $(realpath tools/git-hooks/clang-format.pre-commit) .git/hooks/pre-commit @endverbatim This will add an extra verification before integrating any commit that