Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update for newer, better examples

  • Loading branch information...
commit 6ff6a845c618ee617d40ecc7b54bf79989ff9bfd 1 parent bc01a93
@deadprogram deadprogram authored
Showing with 13 additions and 6 deletions.
  1. +13 −6 README.md
View
19 README.md
@@ -25,17 +25,24 @@ the following to it:
repository_url "git@github.com:hybridgroup/gitnesse-demo.wiki"
end
-## Usage In Rails 3
+## rake tasks
+
+ $ rake gitnesse:pull
+ $ rake gitnesse:push
+ $ rake gitnesse:run
+ $ rake gitnesse:info
-For Rails 3 there is a rake task:
+## Usage In Rails 3
- $ rake gitnesse
+For Rails 3 the rake tasks should automatically just appear, as long as you have added the gitnesse gem to your Gemfile.
There is an example application using Rails 3 located here: [https://github.com/hybridgroup/gitnesse-example-rails](https://github.com/hybridgroup/gitnesse-example-rails)
## Usage In Sinatra
-For Rails 3 there is a rake task:
+To use gitnesse in a Sinatra application, simple add this line of code to your Rakefile:
+
+ require "gitnesse/tasks"
There is an example application using Sinatra located here: [https://github.com/hybridgroup/gitnesse-example-sinatra](https://github.com/hybridgroup/gitnesse-example-sinatra)
@@ -47,8 +54,8 @@ Want to use plain old Gitnesse? There is an executable that requires the path to
## TODO
- - implement git push back to git wiki
- - rake tasks for push/pull/run
+ - test git push back to git wiki
+ - pluggable feature runners, so can be used with Spinach, Cucumber-JS, or ?
## Contributing
Please sign in to comment.
Something went wrong with that request. Please try again.