Sha256: 911b8bf98d28912fd88686598d83dd575479fbf711c71fe60e49ad49124f8b14

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rake/clean'

ENV['folder'] ||= ''
ENV['test'] ||= ''

RSpec::Core::RakeTask.new(:run_spec) do |t|
  t.pattern = "spec/*/#{ENV['folder']}*/#{ENV['test']}*_spec.rb"
end

desc 'Prepare log files'
task :logs do
  mkdir_p 'logs'
  touch 'logs/traffic.log'
end

desc 'Run tests'
task :spec => %w[logs run_spec]

task :default => :spec

CLOBBER.include 'logs/*'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
soaspec-0.0.38 Rakefile
soaspec-0.0.37 Rakefile
soaspec-0.0.36 Rakefile