diff options
| author | realtradam <[email protected]> | 2022-02-05 02:50:11 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-02-05 02:50:11 -0500 |
| commit | dab2484365ef384a88a0f43e979c1d840318711d (patch) | |
| tree | a25fee7e03341c63e6cfc704dbd6925df06c08cb /Rakefile | |
| parent | 1efc0942ebc13c9bb7eddeb38be150a1b11ab49b (diff) | |
| download | mruby-raylib-dab2484365ef384a88a0f43e979c1d840318711d.tar.gz mruby-raylib-dab2484365ef384a88a0f43e979c1d840318711d.zip | |
doesnt work pepehands
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -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 |
