Sha256: 37fecad36c2303783dbb94736a81f87e09ce095a0bec5d0517439ae27f438133

Contents?: true

Size: 515 Bytes

Versions: 9

Compression:

Stored size: 515 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

9 entries across 9 versions & 2 rubygems

Version Path
doomy_client-0.8.5 Rakefile
tumblr_client-0.8.5 Rakefile
tumblr_client-0.8.4 Rakefile
tumblr_client-0.8.3 Rakefile
tumblr_client-0.8.2 Rakefile
tumblr_client-0.8.1 Rakefile
tumblr_client-0.7.5 Rakefile
tumblr_client-0.7.4 Rakefile
tumblr_client-0.7.3 Rakefile