From dab2484365ef384a88a0f43e979c1d840318711d Mon Sep 17 00:00:00 2001 From: realtradam Date: Sat, 5 Feb 2022 02:50:11 -0500 Subject: doesnt work pepehands --- Rakefile | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index fb6c606..22cef3f 100644 --- a/Rakefile +++ b/Rakefile @@ -1,22 +1,11 @@ -require 'yard' +require 'bundler' -task default: [:api] -#task default: [:yard] +Bundler.setup(:default, :yard) -#YARD::Rake::YardocTask.new do |t| -# t.files = ['./mrblib/*', 'src/*'] -# t.options = ['--output-dir', './docs', 'yardoc --markup=markdown|textile|rdoc(default)', '--plugin mruby'] -# t.stats_options = ['--list-undoc'] -#end -# -YARD::Rake::YardocTask.new do |t| - t.files = ['mrblib/raylib.rb', 'mrbdoc/core.rb'] # ['system_manager.rb', 'component_manager.rb', 'entity_manager.rb', 'scene_manager.rb', 'stage_manager.rb', 'felecs.rb'] - t.options = ['--output-dir', './docs', 'yardoc --markup=markdown|textile|rdoc(default)'] - t.stats_options = ['--list-undoc'] -end +task default: [:yard] desc 'generate yard docs' -task :api do +task :yard do begin sh "mrbdoc" rescue -- cgit v1.2.3