Sha256: c59be587d91eccac56b17903577d9aca649ba7628314f71e471eb84bd82d5d1c

Contents?: true

Size: 811 Bytes

Versions: 1

Compression:

Stored size: 811 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"

Bundler.setup

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:cucumber)

require 'scripted/rake_task'
Scripted::RakeTask.new(:scripted)

task :default => [:scripted]

namespace :examples do

  desc "Runs the websockets example (really cool)"
  Scripted::RakeTask.new(:websockets) do
    config_file "examples/websockets.rb"
  end

  desc "Runs the parallel example"
  Scripted::RakeTask.new(:parallel) do
    config_file "examples/parallel.rb"
  end

  desc "Runs the important example"
  Scripted::RakeTask.new(:important) do
    config_file "examples/important.rb"
  end

  desc "Runs the pride example"
  Scripted::RakeTask.new(:pride) do
    config_file "examples/pride.rb"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scripted-0.0.1 Rakefile