Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (27 sloc) 776 Bytes
require 'cucumber/rake/task'
desc "Release"
task :release => [:git_clean, :generate] do
sh "mvn release:clean"
sh "mvn --batch-mode -P release-sign-artifacts release:prepare"
sh "mvn --batch-mode -P release-sign-artifacts release:perform"
end
task :git_clean do
sh "git clean -df"
end
desc "Generate code"
task :generate do
Dir['*/Rakefile'].each do |rakefile|
Dir.chdir(File.dirname(rakefile)) do
if ENV['SKIP_BUNDLER'].to_s == 'true'
puts `rake generate`
else
require 'bundler/setup'
puts `bundle exec rake generate`
end
end
end
end
Cucumber::Rake::Task.new(:picocontainer) do |t|
t.cucumber_opts = '-r java/src/test/resources/cucumber-tck -r cucumber-tck cucumber-tck'
end
task :default => :picocontainer
Jump to Line
Something went wrong with that request. Please try again.