forked from ruby-china/homeland
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
executable file
·36 lines (29 loc) · 762 Bytes
/
Copy pathRakefile
File metadata and controls
executable file
·36 lines (29 loc) · 762 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
29
30
31
32
33
34
35
36
#!/usr/bin/env rake
# frozen_string_literal: true
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path("../config/application", __FILE__)
require "elasticsearch/rails/tasks/import"
Rails.application.load_tasks
task default: "bundle:audit"
require "sdoc"
require "rdoc/task"
rdoc_files = %w[
README.md
PLUGIN_DEV.md
CONTRIBUTE.md
API.md
app/models
app/controllers
app/helpers
lib/homeland.rb
lib/single_sign_on.rb
lib/homeland
]
RDoc::Task.new do |rdoc|
rdoc.rdoc_dir = "public/doc"
rdoc.generator = "sdoc"
rdoc.template = "rails"
rdoc.main = "README.md"
rdoc.rdoc_files.include(*rdoc_files)
end