Skip to content

Commit

Permalink
docs: update docs and git hook pre-commit
Browse files Browse the repository at this point in the history
Signed-off-by: ibotdotout <tkroputa@gmail.com>
  • Loading branch information
ibotdotout committed Oct 16, 2022
1 parent 82d9e00 commit ce8f1e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/running-locally.md
Expand Up @@ -199,6 +199,7 @@ Before you commit code and raise a PR, always run:

```bash
make pre-commit -B
SKIP_PRIVATE_REPO=true make test
```

Please do the following when creating your PR:
Expand Down
6 changes: 3 additions & 3 deletions hack/git/hooks/pre-commit
Expand Up @@ -10,7 +10,7 @@ else
fi

if find dist/test -mmin -${m} | grep .; then
echo "\`make test\` was run in the last ${m}m"
echo "\`SKIP_PRIVATE_REPO=true make test\` was run in the last ${m}m"
else
echo "⚠️️ \`make test\` has not been run for over ${m}m"
fi
echo "⚠️️ \`SKIP_PRIVATE_REPO=true make test\` has not been run for over ${m}m"
fi

0 comments on commit ce8f1e1

Please sign in to comment.