Sha256: 6adf031c31f1dc8b3afaeeaf14a8171ddd41a04d039244001bf61456f7d8ea2c

Contents?: true

Size: 768 Bytes

Versions: 2

Compression:

Stored size: 768 Bytes

Contents

# encoding: utf-8

# bundler/setup is managing $LOAD_PATH, any gem needed by this Rakefile must
# be listed as a development dependency in the gemspec

require 'rubygems'
require 'bundler/setup'

Bundler::GemHelper.install_tasks

def gemspec
  @gemspec ||= begin
    file = File.expand_path('../mutagem.gemspec', __FILE__)
    eval(File.read(file), binding, file)
  end
end

require 'spec'
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

require 'cucumber'
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features) do |task|
  task.cucumber_opts = ["features"]
end

desc "Run specs and features"
task :test => [:spec, :features]

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mutagem-0.2.4 Rakefile
mutagem-0.2.3 Rakefile