Sha256: a8e09ebec54c6eba63d30f300468eda3423c2c44b7e3630c10bd9291fa1ee6c9
Contents?: true
Size: 784 Bytes
Versions: 5
Compression:
Stored size: 784 Bytes
Contents
# frozen_string_literal: true require "bundler/setup" require "rspec/core/rake_task" task :load_doorkeeper do `rm -rf spec/` `git checkout spec` unless Dir.exist?("doorkeeper") `git submodule init` `git submodule update` end `cp -r -n doorkeeper/spec .` `rm -rf spec/generators/` # we are not ActiveRecord `rm -rf spec/validators/` `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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper-mongodb-5.3.0 | Rakefile |
doorkeeper-mongodb-5.2.3 | Rakefile |
doorkeeper-mongodb-5.2.2 | Rakefile |
doorkeeper-mongodb-5.2.1 | Rakefile |
doorkeeper-mongodb-5.2.0 | Rakefile |