Sha256: 1ed7485e3ff77f442061231caecb680de3ea058e852b5cc8221016f71d566448
Contents?: true
Size: 627 Bytes
Versions: 2
Compression:
Stored size: 627 Bytes
Contents
require 'bundler/setup' require 'rspec/core/rake_task' task :load_doorkeeper do `rm -rf spec/` `git checkout spec` `git submodule init` `git submodule update` `cp -r -n doorkeeper/spec .` `bundle exec rspec` end desc 'Update Git submodules.' task :update_submodules do Rake::Task['load_doorkeeper'].invoke if Dir['doorkeeper/*'].empty? `git submodule foreach git pull origin master` end desc 'Default: run specs.' task default: :spec desc 'Clone down doorkeeper specs' task spec: :load_doorkeeper RSpec::Core::RakeTask.new(:spec) do |config| config.verbose = false end Bundler::GemHelper.install_tasks
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper-mongodb-4.0.1 | Rakefile |
doorkeeper-mongodb-4.0.0 | Rakefile |