Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (18 sloc) 0.447 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
require 'rubygems'
require 'rake'
require 'rspec'
require 'rspec/core/rake_task'

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "jsonrpc/version"


RSpec::Core::RakeTask.new do |t|
  t.rspec_opts = %w(-fs --color)
end

task :default => [:spec]

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

desc "Release the gem"
task :release => :build do
  system "gem push jsonrpc-#{JsonRPC::VERSION}.gem"
end
Something went wrong with that request. Please try again.