Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (28 sloc) 811 Bytes
#!/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