Sha256: a7115c542136754701f688651ed41f46150f8a17ee52bc2d12de23ac5dac423f

Contents?: true

Size: 739 Bytes

Versions: 5

Compression:

Stored size: 739 Bytes

Contents

# rspec
begin
  require 'rspec'
  require 'rspec/core/rake_task'

  desc "Run all examples with RCov"
  RSpec::Core::RakeTask.new('spec:rcov') do |t|
    t.rcov = true
  end
  RSpec::Core::RakeTask.new('spec') do |t|
    t.verbose = true
  end

  task :default => :spec
rescue LoadError
  puts "rspec, or one of its dependencies, is not available. Install it with: sudo gem install rspec"
end

# rake-compiler
require 'rake' unless defined? Rake

gem 'rake-compiler', '>= 0.7.5'
require "rake/extensiontask"

Rake::ExtensionTask.new('escape_utils') do |ext|
  ext.cross_compile = true
  ext.cross_platform = ['x86-mingw32', 'x86-mswin32-60']

  ext.lib_dir = File.join 'lib', 'escape_utils'
end

Rake::Task[:spec].prerequisites << :compile

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
escape_utils-0.2.4 Rakefile
escape_utils-0.2.3 Rakefile
escape_utils-0.2.2 Rakefile
escape_utils-0.2.1 Rakefile
escape_utils-0.2.0 Rakefile