Sha256: 3e159978ef6c9bea55c5565ff649c2f1cfbf3041e1ca3d4de4ca022d764ebfe8

Contents?: true

Size: 787 Bytes

Versions: 4

Compression:

Stored size: 787 Bytes

Contents

require 'rubygems' unless defined?(Gem)
require 'bundler/setup'
Bundler.setup(:default, :development)
require 'rake'

task :default => :rspec
task :spec    => :rspec

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:rspec) do |spec|
  Bundler.setup(:default, :development, :test)
  spec.pattern = 'spec/**/*_spec.rb'
end

desc "Run RSpec with code coverage"
task :cov do
  ENV['GORILLIB_COV'] = "yep"
  Rake::Task[:rspec].execute
end

require 'yard'
YARD::Rake::YardocTask.new do
  Bundler.setup(:default, :development, :docs)
end

desc "Build rubix"
task :build do
  system "gem build rubix.gemspec"
end

version = File.read(File.expand_path('../VERSION', __FILE__)).strip
desc "Release rubix-#{version}"
task :release => :build do
  system "gem push rubix-#{version}.gem"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubix-0.5.14 Rakefile
rubix-0.5.13 Rakefile
rubix-0.5.9 Rakefile
rubix-0.5.8 Rakefile