Skip to content

Commit badcc11

Browse files
committed
Add mechanism to test links at dev machine
1 parent b0508fe commit badcc11

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

CONTRIBUTING.md

+10
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ We appreciate and recognize all contributors.
2121
* If you want to add more than one link, please don't do all PR on the exact same line, it usually results in conflicts and your PR cannot be automatically merged...
2222
* Please contribute links to packages/projects you have used or are familiar with. This will help ensure high-quality entries.
2323

24+
## Test your change locally
25+
26+
#### Prerequisite
27+
28+
Ruby 2.0+
29+
30+
#### Verify checks as:
31+
```
32+
$ make test
33+
```
2434

2535
## Quality standard
2636

Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
awesome_bot:
2+
@which awesome_bot > /dev/null; if [ "$$?" != 0 ]; then \
3+
echo "'awesome_bot' gem not found. Installing it ..."; \
4+
gem install awesome_bot; \
5+
fi
6+
7+
.PHONY: test
8+
test: awesome_bot
9+
awesome_bot README.md --allow-redirect --white-list linkedin.com,blog.kcluster.io,telepresence.io,kismatic.com,slideshare.net,research.google.com,kubespray.io,twitter.com --allow-dupe

0 commit comments

Comments
 (0)