Rakefile in soaspec-0.1.14 vs Rakefile in soaspec-0.1.15

- old
+ new

@@ -1,8 +1,9 @@ require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rake/clean' +require 'yard' ENV['folder'] ||= '' ENV['test'] ||= '' desc 'Run tests' @@ -15,10 +16,15 @@ CLEAN.include 'tmp/*' CLOBBER.include 'logs/*' desc 'Start virtual web service' task :start_test_server do + ENV['leave_server_running'] = 'true' # This will stop created suites from killing this service mkdir_p 'logs' ENV['test_server_pid'] = Process.spawn('ruby', 'exe/soaspec', 'virtual_server', err: %w[logs/test_server.log w]).to_s sleep 2 # Wait a little for virtual server to start up puts 'Running test server at pid ' + ENV['test_server_pid'] end + +YARD::Rake::YardocTask.new do |t| + t.files = %w[features/**/*.feature features/**/*.rb lib/soaspec/cucumber/*.rb] # lib/soaspec/cucumber/*.rb] +end \ No newline at end of file