-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathRakefile
More file actions
28 lines (21 loc) · 745 Bytes
/
Rakefile
File metadata and controls
28 lines (21 loc) · 745 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/gem_tasks"
require "rake/testtask"
Rake::TestTask.new(:test) do |t|
t.libs << "test"
t.libs << "lib"
t.test_files = FileList["test/**/test_*.rb"]
end
require "standard/rake"
task default: %i[test standard]
require "sdoc" # and use your RDoc task the same way you used it before
require "rdoc/task" # ensure this file is also required in order to use `RDoc::Task`
RDoc::Task.new do |rdoc|
rdoc.rdoc_dir = "doc/rdoc" # name of output directory
rdoc.options << "--format=sdoc" # explictly set the sdoc generator
rdoc.template = "rails" # template used on api.rubyonrails.org
end
desc "Run Ruby Next nextify"
task :nextify do
sh "bundle exec ruby-next nextify -V"
end