Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 31 lines (26 sloc) 0.771 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
require 'bundler'
Bundler::GemHelper.install_tasks

load File.dirname(__FILE__) + "/spec/tasks/signonotron_tasks.rake"

require 'rake/testtask'
Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['test/**/*_test.rb']
  t.verbose = true
end

require 'rspec/core/rake_task'
desc "Run all specs"
RSpec::Core::RakeTask.new(:spec) do |task|
  task.pattern = 'spec/**/*_spec.rb'
end
namespace :spec do
  desc "Run integration specs"
  RSpec::Core::RakeTask.new(:integration) do |task|
    task.pattern = 'spec/integration/**/*_spec.rb'
  end
end

require "gem_publisher"
task :publish_gem do |t|
  gem = GemPublisher.publish_if_updated("gds-sso.gemspec", :rubygems)
  puts "Published #{gem}" if gem
end

task :default => [:test, :"signonotron:start", :spec]
Something went wrong with that request. Please try again.