-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
28 lines (22 loc) · 555 Bytes
/
Rakefile
File metadata and controls
28 lines (22 loc) · 555 Bytes
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
# frozen_string_literal: true
require "bundler/setup"
require "rspec/core/rake_task"
desc "Default: run specs."
task default: :spec
desc "Run all specs"
RSpec::Core::RakeTask.new(:spec) do |config|
config.verbose = false
end
namespace :doorkeeper do
desc "Install doorkeeper in dummy app"
task :install do
cd "spec/dummy"
system "bundle exec rails g doorkeeper:install --force"
end
desc "Runs local test server"
task :server do
cd "spec/dummy"
system "bundle exec rails server"
end
end
Bundler::GemHelper.install_tasks