Sha256: 455612c71e0cc6bd2b508f31b31a6bb5beb8df8dad12f61b934c659e926bf581
Contents?: true
Size: 698 Bytes
Versions: 4
Compression:
Stored size: 698 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("async-http") clone_and_test("falcon") end end task :coverage do ENV['COVERAGE'] = 'y' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
async-1.10.0 | Rakefile |
async-1.9.1 | Rakefile |
async-1.9.0 | Rakefile |
async-1.8.0 | Rakefile |