Permalink
Browse files

Add README, test using Travis CI.

  • Loading branch information...
jaredhanson committed May 2, 2013
1 parent b081a83 commit d8503dce7456b6696437e343106e97eb1611c6b5
Showing with 37 additions and 0 deletions.
  1. +4 −0 .travis.yml
  2. +32 −0 README.md
  3. +1 −0 lib/index.js
View
@@ -0,0 +1,4 @@
+language: "node_js"
+node_js:
+ - 0.6
+ - 0.8
View
@@ -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/)>
View
@@ -26,6 +26,7 @@ exports = module.exports = function() {
}
page.write(txt);
+ page.end();
});
}
}

0 comments on commit d8503dc

Please sign in to comment.