require 'bundler/gem_tasks' begin require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec_out = ENV['SPEC_OUT'] || '../spec-output/helix_web_services_client_specs.html' spec.rspec_opts = "--format html --out #{File.absolute_path(spec_out, __FILE__)}" end rescue LoadError end begin require 'yard' YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*'] t.options = ['-o', File.absolute_path('../doc-output', __FILE__), '-m', 'markdown'] end rescue LoadError end