Sha256: 64c2a5303577311efd548db4a6090536f6baa63eca067c67940aefffd08d982b

Contents?: true

Size: 841 Bytes

Versions: 4

Compression:

Stored size: 841 Bytes

Contents

lib = File.expand_path '../lib', __FILE__
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include? lib

require 'bundler/setup'
require 'bundler/gem_tasks'

require 'rake/extensiontask'
Rake::ExtensionTask.new('rs_232') do |ext|
  ext.name = 'rs_232_native'
  ext.source_pattern = '*.{c,cpp}'
end

require 'rake/clean'
CLEAN.include %w(**/*.{log} doc coverage tmp pkg **/*.{o,so,bundle} Makefile)

require 'simplecov'
task :cov do
  ENV['SIMPLECOV'] = 'features'
  Rake::Task['default'].invoke
end

require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features) do |t|
  t.fork = true
  t.profile = :default
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |t|
  t.fail_on_error = false
  t.verbose = true
  t.rspec_opts = '--format RspecJunitFormatter  --out rspec.xml --tag ~wip'
end

task default: [:clobber, :compile, :spec]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rs_232-3.0.0.pre5 Rakefile
rs_232-3.0.0.pre4 Rakefile
rs_232-3.0.0.pre3 Rakefile
rs_232-3.0.0.pre2 Rakefile