We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think it would be easier to just write konacha instead of rake konacha.
konacha
rake konacha
rake konacha:serve rake konacha:run rake konacha:run SPEC=foo_spec,bar_spec
=>
konacha serve konacha konacha spec/javascripts/foo_spec.coffee spec/javascripts/bar_spec.coffee
This would be similiar to how rspec command works and would also provide easier tab completion for specifying files on command line.
rspec
I could create a pull request for this. What do you think?
I have already created a working example:
#!/usr/bin/env ruby require_relative '../config/environment' if ARGV == ["serve"] Konacha.serve else if ARGV.size > 0 base_path = File.expand_path(Konacha.config.spec_dir, Rails.root) spec_paths = ARGV.map do |path| path = File.expand_path(path, Rails.root) path[base_path.size+1..-1] end ENV["SPEC"] = spec_paths.join(",") end passed = Konacha.run exit 1 unless passed end
The text was updated successfully, but these errors were encountered:
I'd be happy to see a pull request for this.
Sorry, something went wrong.
+1
grep
No branches or pull requests
I think it would be easier to just write
konacha
instead ofrake konacha
.=>
This would be similiar to how
rspec
command works and would alsoprovide easier tab completion for specifying files on command line.
I could create a pull request for this. What do you think?
I have already created a working example:
The text was updated successfully, but these errors were encountered: