[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/git-commit-notifier/git-commit-notifier/master/Rakefile [Back]  [Original]

require 'rubygems'
require 'rake'

APP_ROOT = File.dirname(__FILE__).freeze

begin
  require 'bundler'
  Bundler::GemHelper.install_tasks
rescue LoadError
  puts "Bundler not available. Install it with: gem install bundler"
end

begin
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new

  RSpec::Core::RakeTask.new(:rcov) do |t|
    t.rcov = true
    t.ruby_opts = '-w'
    t.rcov_opts = %q[-Ilib --exclude "spec/*,gems/*"]
  end
rescue LoadError
  $stderr.puts "RSpec not available. Install it with: gem install rspec-core rspec-expectations"
end

task :default => :spec

begin
  require 'yard'

  YARD::Rake::YardocTask.new do |yard|
    version = File.exists?('VERSION') ? IO.read('VERSION') : ""
    yard.options 

Web Proxy Viewer  |  New URL  |  Original Page