Sha256: f0b5bbf74f4a199cc0545226542bbcbee478dd08ca0fc1161c94da1902cd894c

Contents?: true

Size: 510 Bytes

Versions: 4

Compression:

Stored size: 510 Bytes

Contents

#!/usr/bin/env rake

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

task :default => :test

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

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

4 entries across 4 versions & 1 rubygems

Version Path
youku_client-0.0.4 Rakefile
youku_client-0.0.3 Rakefile
youku_client-0.0.2 Rakefile
youku_client-0.0.1 Rakefile