Skip to content

Commit

Permalink
Add mechanism to test links at dev machine
Browse files Browse the repository at this point in the history
  • Loading branch information
brgnepal committed Sep 22, 2017
1 parent b0508fe commit badcc11
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ We appreciate and recognize all contributors.
* 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...
* Please contribute links to packages/projects you have used or are familiar with. This will help ensure high-quality entries.

## Test your change locally

#### Prerequisite

Ruby 2.0+

#### Verify checks as:
```
$ make test
```

## Quality standard

Expand Down
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
awesome_bot:
@which awesome_bot > /dev/null; if [ "$$?" != 0 ]; then \
echo "'awesome_bot' gem not found. Installing it ..."; \
gem install awesome_bot; \
fi

.PHONY: test
test: awesome_bot
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 comments on commit badcc11

Please sign in to comment.