summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-10-23 18:56:01 -0700
committerTim Smith <tsmith@chef.io>2018-10-23 18:56:01 -0700
commitf0afc701e5640c7f364c7ae49b7db17214672a46 (patch)
treed22843045e192fed1d99bfa06d4e15e52a73eef5 /Rakefile
parentd69ec8252be824d7ba14297d1af10f3a327a18d2 (diff)
downloadwmi-lite-f0afc701e5640c7f364c7ae49b7db17214672a46.tar.gz
Add standard rake tasks
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index c702cfc..c71976d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1 +1,15 @@
require 'bundler/gem_tasks'
+
+begin
+ require "yard"
+ YARD::Rake::YardocTask.new(:docs)
+rescue LoadError
+ puts "yard is not available. bundle install first to make sure all dependencies are installed."
+end
+
+task :console do
+ require "irb"
+ require "irb/completion"
+ ARGV.clear
+ IRB.start
+end