Sha256: bedcc65194c564ed974c6aefd055b531f04fe91dc39bc62aedcda085ddd42aa0

Contents?: true

Size: 466 Bytes

Versions: 4

Compression:

Stored size: 466 Bytes

Contents

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

desc "Clone test repository"
task :clone_repo do
  repos_dir = File.expand_path('./repos')
  FileUtils.cd(repos_dir) do
    puts `git clone git://github.com/atmos/hancock-client.git test`
  end unless Dir.exists?("#{repos_dir}/test")
end

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern    = FileList['spec/**/*_spec.rb']
  spec.rspec_opts = ['--color']
end

task default: ['clone_repo', 'spec']

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ginatra-4.1.0 Rakefile
ginatra-4.0.2 Rakefile
ginatra-4.0.1 Rakefile
ginatra-4.0.0 Rakefile