Sha256: ff045a163a55631ba98448af4fc771b77c49378b99922525a02de1909205aa40

Contents?: true

Size: 620 Bytes

Versions: 17

Compression:

Stored size: 620 Bytes

Contents

require 'bundler'
Bundler.setup
Bundler::GemHelper.install_tasks

namespace :test do
  desc 'Run tests of hirb gem with hirb-unicode'
  task :hirb do |t|
    gem 'hirb' # Load hirb specified in gemfile
    hirb_gem_path = Gem.loaded_specs["hirb"].full_gem_path
    test_path = File.expand_path(File.join(hirb_gem_path, 'test', '*_test.rb'))
    sh "bundle exec bacon -q hirb-unicode.rb #{test_path}"
  end

  desc 'Run tests of hirb-unicode gem'
  task :unicode do |t|
    sh 'bundle exec bacon -I. -q test/*_test.rb'
  end

end

desc 'Run all tests'
task :test => ["test:hirb", "test:unicode"]

task :default => :test

Version data entries

17 entries across 16 versions & 3 rubygems

Version Path
hirb-unicode-steakknife-0.0.9 Rakefile
hirb-unicode-steakknife-0.0.8 Rakefile
hirb-unicode-steakknife-0.0.7 Rakefile
hirb-unicode-steakknife-0.0.6 Rakefile
climine-0.0.7 vendor/bundle/ruby/2.0.0/gems/hirb-unicode-0.0.5/Rakefile
climine-0.0.7 vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/Rakefile
climine-0.0.6 vendor/bundle/ruby/2.0.0/gems/hirb-unicode-0.0.5/Rakefile
climine-0.0.5 vendor/bundle/ruby/2.0.0/gems/hirb-unicode-0.0.5/Rakefile
climine-0.0.4 vendor/bundle/ruby/2.0.0/gems/hirb-unicode-0.0.5/Rakefile
climine-0.0.3 vendor/bundle/ruby/2.0.0/gems/hirb-unicode-0.0.5/Rakefile
climine-0.0.2 vendor/bundle/ruby/2.0.0/gems/hirb-unicode-0.0.5/Rakefile
climine-0.0.1 vendor/bundle/ruby/2.0.0/gems/hirb-unicode-0.0.5/Rakefile
hirb-unicode-0.0.5 Rakefile
hirb-unicode-0.0.4 Rakefile
hirb-unicode-0.0.3 Rakefile
hirb-unicode-0.0.2 Rakefile
hirb-unicode-0.0.1 Rakefile