Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.397 kB
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rake'
require 'rspec/core/rake_task'
desc "Run all examples"
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = %w[--color]
end
task :default => [:copy, :spec]
task :copy do
path = File.expand_path(File.dirname(__FILE__) + '/spec')
cp "#{path}/api.yml.example", "#{path}/api.yml" unless File.exists?("#{path}/api.yml")
end
Jump to Line
Something went wrong with that request. Please try again.