Merge pull request #868 from Arthur-Milchior/contributing_sh

Contributing shell code in backtick
This commit is contained in:
Damien Elmes 2020-12-28 10:46:34 +10:00 committed by GitHub
commit 58db3866fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,8 +117,10 @@ Please make sure 'bazel test //...' completes successfully before submitting cod
You can do this automatically by adding the following into You can do this automatically by adding the following into
.git/hooks/pre-commit or .git/hooks/pre-push and making it executable. .git/hooks/pre-commit or .git/hooks/pre-push and making it executable.
```sh
#!/bin/bash #!/bin/bash
bazel test //... bazel test //...
```
If your change is non-trivial and not covered by the existing unit tests, please If your change is non-trivial and not covered by the existing unit tests, please
consider adding a unit test at the same time. consider adding a unit test at the same time.