forked from projectblacklight/blacklight
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
24 lines (20 loc) · 717 Bytes
/
Rakefile
File metadata and controls
24 lines (20 loc) · 717 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
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'tasks/rails'
# the default rake task
desc "run migrations and call solr:spec and solr:features"
task :default => "test"
# run migrations and call solr:spec and solr:features
desc 'run migrations and call solr:spec and solr:features'
task "test" => ["db:migrate", "solr:spec", "solr:features"] do
# ...
end
desc 'Generate documentation for the blacklight plugin.'
Rake::RDocTask.new('rdoc') do |t|
t.rdoc_files.include('README.rdoc', 'lib/**/*.rb')
t.main = 'README.rdoc'
t.title = "Blacklight API documentation"
t.options << '--line-numbers' << '--inline-source'
end