Sha256: 64e016f1a0f719742c495b6ad29a7d2ea64ee47af0fd72f558b98901b1f22d98

Contents?: true

Size: 615 Bytes

Versions: 4

Compression:

Stored size: 615 Bytes

Contents

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "bundler/version"
require "rake/testtask"
require "./lib/klout"
require 'rspec/core'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :default => :spec

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

desc "Build and release the gem"
task :release => :build do
  system "gem push klout-#{Klout::VERSION}.gem"
end

task :default => :test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
klout-3.0.3 Rakefile
klout-3.0.2 Rakefile
klout-3.0.1 Rakefile
klout-3.0.0 Rakefile