Skip to content

Commit

Permalink
Add README, test using Travis CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed May 2, 2013
1 parent b081a83 commit d8503dc
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: "node_js"
node_js:
- 0.6
- 0.8
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# kerouac-robotstxt

This is a [Kerouac](https://github.com/jaredhanson/kerouac) plugin that gives
instructions to web crawlers using the [Robots Exclusion Protocol](http://www.robotstxt.org/).

## Install

$ npm install kerouac-robotstxt

## Usage

Simply plug `kerouac-robotstxt` into your site. The generated output will
include a `/robots.txt` resource.

site.plug(require('kerouac-robotstxt')());

## Tests

$ npm install
$ make test

[![Build Status](https://secure.travis-ci.org/jaredhanson/kerouac-robotstxt.png)](http://travis-ci.org/jaredhanson/kerouac-robotstxt) [![David DM](https://david-dm.org/jaredhanson/kerouac-robotstxt.png)](http://david-dm.org/jaredhanson/kerouac-robotstxt)

## Credits

- [Jared Hanson](http://github.com/jaredhanson)

## License

[The MIT License](http://opensource.org/licenses/MIT)

Copyright (c) 2012-2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ exports = module.exports = function() {
}

page.write(txt);
page.end();
});
}
}

0 comments on commit d8503dc

Please sign in to comment.