Sha256: 026d56c2510e16a3940e63fb67166c7b6ed9d2c268adba1e816b862004a6af5a

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

#!/usr/bin/env rake

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

task :default => :test

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

task :release => :build do
  # tag and push
  system "git tag v#{Tumblr::VERSION}"
  #system "git push origin --tags"
  # push the gem
  system "gem push tumblr_client-#{Tumblr::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

1 entries across 1 versions & 1 rubygems

Version Path
tumblr_client-0.7.2 Rakefile