Sha256: fc1eda290b3c870f5603e4e85e13317041c9e89811abf4bdcdff68aa993cfead

Contents?: true

Size: 872 Bytes

Versions: 15

Compression:

Stored size: 872 Bytes

Contents

# The list of task for a Rake file can be seen with `rake -T`
require 'rspec/core/rake_task' # See https://relishapp.com/rspec/rspec-core/docs/command-line/rake-task for details

# This runs `rspec` command with the following options. Type `rake spec` to run this task
<%= spec_task %>
  t.pattern = "spec/*_spec.rb" # Run all specs in 'spec' folder ending in '_spec'
  <%= 't.fail_on_error = false' if options[:ci] == 'jenkins' %>
end

task default: :spec # This runs the 'spec' task by default when no task is mentioned. E.g., if only `rake` is typed

<% if @virtual %>
desc 'Start virtual web service'
task :start_test_server do
  ENV['test_server_pid'] = Process.spawn('soaspec-virtual-server', err: %w[logs/test_server.log w]).to_s
  puts 'Running test server at pid ' + ENV['test_server_pid']
  sleep 0.5 # Wait a little for virtual server to start up
end
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
soaspec-0.1.8 lib/soaspec/generator/Rakefile.erb
soaspec-0.1.7 lib/soaspec/generator/Rakefile.erb
soaspec-0.1.5 lib/soaspec/generator/Rakefile.erb
soaspec-0.1.4 lib/soaspec/generator/Rakefile.erb
soaspec-0.1.3 lib/soaspec/generator/Rakefile.erb
soaspec-0.1.2 lib/soaspec/generator/Rakefile.erb
soaspec-0.1.0 lib/soaspec/generator/Rakefile.erb
soaspec-0.0.89 lib/soaspec/generator/Rakefile.erb
soaspec-0.0.87 lib/soaspec/generator/Rakefile.erb
soaspec-0.0.86 lib/soaspec/generator/Rakefile.erb
soaspec-0.0.84 lib/soaspec/generator/Rakefile.erb
soaspec-0.0.81 lib/soaspec/generator/Rakefile.erb
soaspec-0.0.80 lib/soaspec/generator/Rakefile.erb
soaspec-0.0.79 lib/soaspec/generator/Rakefile.erb
soaspec-0.0.78 lib/soaspec/generator/Rakefile.erb