Sha256: b72c3922f8c4bd841820eef392d02aee97b10313a9abc2738eba88abc28924d0

Contents?: true

Size: 937 Bytes

Versions: 9

Compression:

Stored size: 937 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
begin
  require 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Doorkeeper'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

require 'rspec/core/rake_task'

desc 'Default: run specs.'
task :default => :spec

desc "Run all specs"
RSpec::Core::RakeTask.new(:spec)

namespace :doorkeeper do
  desc "Install doorkeeper in dummy app"
  task :install do
    cd 'spec/dummy'
    system 'bundle exec rails g doorkeeper:install --force'
  end
end

APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'

Bundler::GemHelper.install_tasks

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
doorkeeper-0.4.2 Rakefile
doorkeeper-0.4.1 Rakefile
doorkeeper-0.4.0 Rakefile
doorkeeper-0.3.4 Rakefile
doorkeeper-0.3.3 Rakefile
doorkeeper-0.3.2 Rakefile
doorkeeper-0.3.1 Rakefile
doorkeeper-0.3.0 Rakefile
doorkeeper-0.2.0 Rakefile