Sha256: cf023a9a1615d6e06e26452ab91572671f24e83d0117279647a45bfea30de64b
Contents?: true
Size: 667 Bytes
Versions: 5
Compression:
Stored size: 667 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:test) task :default => :test def clone_and_test(name) sh("git clone https://git@github.com/socketry/#{name}") # I tried using `bundle config --local local.async ../` but it simply doesn't work. File.open("#{name}/Gemfile", "a") do |file| file.puts('gem "async", path: "../"') end sh("cd #{name} && bundle install && bundle exec rake test") end task :external do Bundler.with_clean_env do clone_and_test("async-io") clone_and_test("async-websocket") clone_and_test("async-dns") clone_and_test("falcon") end end task :coverage do ENV['COVERAGE'] = 'y' end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
async-1.7.0 | Rakefile |
async-1.6.0 | Rakefile |
async-1.5.0 | Rakefile |
async-1.4.1 | Rakefile |
async-1.4.0 | Rakefile |