summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-02-05 02:50:11 -0500
committerrealtradam <[email protected]>2022-02-05 02:50:11 -0500
commitdab2484365ef384a88a0f43e979c1d840318711d (patch)
treea25fee7e03341c63e6cfc704dbd6925df06c08cb /Rakefile
parent1efc0942ebc13c9bb7eddeb38be150a1b11ab49b (diff)
downloadmruby-raylib-dab2484365ef384a88a0f43e979c1d840318711d.tar.gz
mruby-raylib-dab2484365ef384a88a0f43e979c1d840318711d.zip
doesnt work pepehands
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile19
1 files changed, 4 insertions, 15 deletions
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