Skip to content

Commit

Permalink
Merge branch 'master' of http://github.com/elight/evergreen into elig…
Browse files Browse the repository at this point in the history
…ht-master

Conflicts:
	Gemfile.lock
	lib/evergreen/runner.rb
  • Loading branch information
jnicklas authored and Nicklas Ramhöj committed Oct 21, 2010
2 parents 9848b15 + b8e7529 commit 69ede2a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion evergreen.gemspec
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.email = ["jonas.nicklas@gmail.com"]
s.description = "Run Jasmine JavaScript unit tests, integrate them into Ruby applications."

s.files = Dir.glob("{lib,spec,config}/**/*") + %w(README.rdoc)
s.files = Dir.glob("{bin,lib,spec,config}/**/*") + %w(README.rdoc)
s.extra_rdoc_files = ["README.rdoc"]
s.executables = ['evergreen']

Expand Down
6 changes: 6 additions & 0 deletions lib/evergreen/tasks.rb
@@ -0,0 +1,6 @@
require 'evergreen'

Dir[File.join(File.dirname(__FILE__), '..', 'tasks', '*.rake')].each do |f|
load f
end

2 changes: 1 addition & 1 deletion lib/tasks/evergreen.rake
@@ -1,7 +1,7 @@
namespace :spec do
desc "Run JavaScript specs via Evergreen"
task :javascripts do
result = Evergreen::Runner.run(Rails.root)
result = Evergreen::Suite.new(Rails.root, :selenium).run
Kernel.exit(1) unless result
end
end

0 comments on commit 69ede2a

Please sign in to comment.