Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake task #30

Closed
aaronjensen opened this issue Feb 1, 2012 · 3 comments
Closed

rake task #30

aaronjensen opened this issue Feb 1, 2012 · 3 comments

Comments

@aaronjensen
Copy link

it would be awesome if there were an out of the box rake task... it's pretty simple to make one with the cli runner, but I think it would be nice to just be able to call rake jasmine:guard_ci or something along those lines.

@netzpirat
Copy link
Contributor

Have you seen the executable guard-jasmine, which can be used to run the specs outside of Guard? If you prefer to use Rake, you can simply use the cli class:

namespace :jasmine do
  task :guard_ci do
    require 'guard/jasmine/cli'
    Guard::Jasmine::CLI.start
  end
end

@netzpirat
Copy link
Contributor

So next time I'll drink my coffee first before responding :P

@netzpirat
Copy link
Contributor

I've added Rake task that simply wraps the Thor CLI. See the README for examples how to configure the CLI options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants