Sha256: b2e46e629b9b199dda8bfc47c9ffb82b4c3f7745681946e39359f00cbc705092

Contents?: true

Size: 882 Bytes

Versions: 1

Compression:

Stored size: 882 Bytes

Contents

#!/usr/bin/env rake
require "rubygems"
require "bundler"
Bundler.setup

require "bundler/gem_tasks"
require 'rake/testtask'

namespace :relish do
  desc "Publish documentation to Relish"
  task :push do
    sh "relish push 3ofcoins/vendorificator"
  end
end

begin
  require 'cucumber'
  require 'cucumber/rake/task'

  desc 'Run Cucumber features'
  Cucumber::Rake::Task.new(:features) do |t|
    t.fork = false
  end
rescue LoadError
  desc 'Cucumber rake task not available'
  task :features do
    abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
  end
end

desc "Run Minitest specs"
Rake::TestTask.new :spec do |task|
  task.libs << 'spec'
  task.test_files = FileList['spec/**/*_spec.rb']
end

# https://github.com/jruby/jruby/issues/405
mkdir_p 'tmp'
ENV['TMPDIR'] ||= File.join(Dir.pwd, 'tmp')

task :default => [:spec, :features]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vendorificator-0.2.0 Rakefile