Sha256: cb16d90b32b07969ccce662bead4056aefd37aa5d41e92eef7f42dfa5d55b118

Contents?: true

Size: 1.25 KB

Versions: 5

Compression:

Stored size: 1.25 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'
require 'jeweler'

Jeweler::Tasks.new do |gemspec|
  gemspec.name = "bixby-common"
  gemspec.summary = "Bixby Common"
  gemspec.description = "Bixby Common files/libs"
  gemspec.email = "chetan@pixelcop.net"
  gemspec.homepage = "http://github.com/chetan/bixby-common"
  gemspec.authors = ["Chetan Sarva"]
  gemspec.license = "MIT"
end
Jeweler::RubygemsDotOrgTasks.new

Dir['tasks/**/*.rake'].each { |rake| load rake }

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

if Module.const_defined? :Rcov then
  begin
    require 'rcov/rcovtask'
    Rcov::RcovTask.new do |test|
      test.libs << 'test'
      test.pattern = 'test/**/*_test.rb'
      test.verbose = true
      test.rcov_opts << '--exclude "gems/*"'
    end
  rescue Exception => ex
  end
end

task :default => :test

begin
  require 'single_test/tasks'

rescue LoadError
  warn "single_test not available"
end

require 'yard'
YARD::Rake::YardocTask.new

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bixby-common-0.4.5 Rakefile
bixby-common-0.4.4 Rakefile
bixby-common-0.4.3 Rakefile
bixby-common-0.4.2 Rakefile
bixby-common-0.4.1 Rakefile