Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.729 kb
# encoding: utf-8
$:.unshift File.expand_path("../lib", __FILE__)
require 'bundler'
require 'thor/rake_compat'
class Default < Thor
include Thor::RakeCompat
Bundler::GemHelper.install_tasks
desc "build", "Build thor-#{Thor::VERSION}.gem into the pkg directory"
def build
Rake::Task["build"].execute
end
desc "install", "Build and install thor-#{Thor::VERSION}.gem into system gems"
def install
Rake::Task["install"].execute
end
desc "release", "Create tag v1.6.2 and build and push twitter-1.6.2.gem to Rubygems"
def release
Rake::Task["release"].execute
end
desc "spec", "Run RSpec code examples"
def spec
exec "#{Gem.ruby} -S rspec --color --format=documentation spec"
end
end
Jump to Line
Something went wrong with that request. Please try again.