diff options
-rw-r--r-- | Gemfile | 21 | ||||
-rw-r--r-- | Rakefile | 14 |
2 files changed, 34 insertions, 1 deletions
@@ -1,2 +1,21 @@ -source 'https://rubygems.org' +source "https://rubygems.org" + gemspec + +group :docs do + gem "yard" + gem "redcarpet" + gem "github-markup" +end + +group :debug do + gem "pry" + gem "pry-byebug" + gem "pry-stack_explorer" +end + +instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"] + +# If you want to load debugging tools into the bundle exec sandbox, +# add these additional dependencies into Gemfile.local +eval_gemfile(__FILE__ + ".local") if File.exist?(__FILE__ + ".local") @@ -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 |