Rakefile in lorj-1.0.1 vs Rakefile in lorj-1.0.2
- old
+ new
@@ -15,11 +15,18 @@
# limitations under the License.
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'
+require 'rdoc/task'
task :default => [:lint, :spec]
+
+desc 'Generate lorj documentation'
+RDoc::Task.new do |rdoc|
+ rdoc.main = 'README.md'
+ rdoc.rdoc_files.include('README.md', 'lib', 'example', 'bin')
+end
desc 'Run the specs.'
RSpec::Core::RakeTask.new do |t|
t.pattern = 'spec/*_spec.rb'
t.rspec_opts = '-f doc'