16 lines
285 B
Ruby
16 lines
285 B
Ruby
require 'bundler'
|
|
Bundler.setup
|
|
Bundler::GemHelper.install_tasks
|
|
|
|
require 'rake'
|
|
require 'rspec/core/rake_task'
|
|
|
|
desc "Run all examples"
|
|
RSpec::Core::RakeTask.new(:spec) do |t|
|
|
t.ruby_opts = %w[-w]
|
|
t.rspec_opts = %w[--color]
|
|
end
|
|
|
|
desc "Default: Run specs"
|
|
task :default => [:spec]
|