Sha256: 9bf38508b589d6b377275c0ffd020aac74c4d8831fee40136cf9634760e7789c

Contents?: true

Size: 658 Bytes

Versions: 7

Compression:

Stored size: 658 Bytes

Contents

#!/usr/bin/env rake

require "bundler/gem_tasks"
require 'rspec/core/rake_task'
require 'parallel_tests/tasks'
require 'coveralls/rake/task'

Coveralls::RakeTask.new

task :default => :pspecs

task :pspecs do
  Rake::Task['parallel:spec'].invoke(ENV['N'] || 8)
end

RSpec::Core::RakeTask.new(:spec) do |t|
  t.verbose = false
end

task :remove_coverage do
  require 'fileutils'
  FileUtils.rm_rf(File.expand_path(File.join(File.dirname(__FILE__), %w{ coverage })))
end

task :env do
  require 'bundler/setup'
  require 'eye'
  Eye::Controller
  Eye::Process # preload
end

desc "graph"
task :graph => :env do
  StateMachine::Machine.draw("Eye::Process")
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
reel-eye-0.5.2.1 Rakefile
reel-eye-0.5.2 Rakefile
eye-0.5.2 Rakefile
reel-eye-0.5.1 Rakefile
eye-0.5.1 Rakefile
reel-eye-0.5 Rakefile
eye-0.5 Rakefile