Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
NUP-2495: Update clang-format instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
lscheinkman committed Mar 13, 2018
1 parent c5e8854 commit de567a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/bamboo/check-style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ set -o errexit
if git clang-format --diff master | grep -q '^diff'
then
echo "ERROR: Code changes do not comply with numenta's code style rules."
echo "Please run 'git clang-format' before commit."
echo "Please run 'git fetch upstream && git clang-format upstream/master' before commit."
echo "See 'githooks/README.md' for instructions on how to install clang-format on your platform."
git clang-format --diff master
exit 1
fi
Expand Down

0 comments on commit de567a4

Please sign in to comment.