Sha256: 58c3caf4d27f73df32f66c9997ae64e1edd793d7a0b5be4292395192c8b9299e

Contents?: true

Size: 535 Bytes

Versions: 6

Compression:

Stored size: 535 Bytes

Contents

#!/usr/bin/env rake

require 'rspec/core/rake_task'
require File.dirname(__FILE__) + '/lib/chartmogul/version'

task :default => :test

task :build => :test do
  system 'gem build chartmogul_client.gemspec'
end

task :release => :build do
  # tag and push
  system "git tag v#{Chartmogul::VERSION}"
  system "git push origin --tags"
  # push the gem
  system "gem push chartmogul_client-#{Chartmogul::VERSION}.gem"
end

RSpec::Core::RakeTask.new(:test) do |t|
  t.pattern = 'spec/**/*_spec.rb'
  fail_on_error = true # be explicit
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chartmogul_client-0.0.6 Rakefile
chartmogul_client-0.0.5 Rakefile
chartmogul_client-0.0.4 Rakefile
chartmogul_client-0.0.3 Rakefile
chartmogul_client-0.0.2 Rakefile
chartmogul_client-0.0.1 Rakefile