Permalink
Browse files

simplified cuke config; added relish task for pushing features out

  • Loading branch information...
1 parent e6eebf2 commit f419c1dca4d76690092535ff6e23f3df4a654cf8 @searls committed Mar 22, 2011
Showing with 16 additions and 8 deletions.
  1. +1 −0 Gemfile
  2. +10 −1 Gemfile.lock
  3. +4 −0 Rakefile
  4. +1 −7 cucumber.yml
View
@@ -3,5 +3,6 @@ source 'http://rubygems.org'
gem 'cucumber', '~> 0.10.2'
gem 'rspec', '~> 2.5.0'
gem 'nokogiri', '~> 1.4.4'
+gem 'relish', '~> 0.2.2'
gem 'ruby-debug'
View
@@ -1,6 +1,7 @@
GEM
remote: http://rubygems.org/
specs:
+ archive-tar-minitar (0.5.2)
builder (3.0.0)
columnize (0.3.2)
cucumber (0.10.2)
@@ -12,9 +13,16 @@ GEM
diff-lcs (1.1.2)
gherkin (2.3.5)
json (>= 1.4.6)
- json (1.5.1)
+ json (1.4.6)
linecache (0.43)
+ mime-types (1.16)
nokogiri (1.4.4)
+ relish (0.2.2)
+ archive-tar-minitar (~> 0.5.2)
+ json (~> 1.4.6)
+ rest-client (~> 1.6.1)
+ rest-client (1.6.1)
+ mime-types (>= 1.16)
rspec (2.5.0)
rspec-core (~> 2.5.0)
rspec-expectations (~> 2.5.0)
@@ -36,5 +44,6 @@ PLATFORMS
DEPENDENCIES
cucumber (~> 0.10.2)
nokogiri (~> 1.4.4)
+ relish (~> 0.2.2)
rspec (~> 2.5.0)
ruby-debug
View
@@ -8,6 +8,10 @@ task :cucumber => [:install] do
system "bundle exec cucumber"
end
+task :relish => [:cucumber] do
+ system "bundle exec relish push searls/jasmine-maven-plugin"
+end
+
task :deploy => [:install, :cucumber] do
system "mvn deploy"
end
View
@@ -1,7 +1 @@
-<%
-rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
-rerun_opts = rerun.to_s.strip.empty? ? "--format progress features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
-std_opts = "#{rerun_opts} -r features/support -r features/step_definitions --format rerun --out rerun.txt --strict --tags ~@wip"
-%>
-default: <%= std_opts %>
-wip: --tags @wip:3 --wip features
+default: -r features/support -r features/step_definitions

0 comments on commit f419c1d

Please sign in to comment.