Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 2f0d675153
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (26 sloc) 0.707 kb
# encoding: UTF-8
require 'rubygems'
require 'bundler' unless defined?(Bundler)
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require 'thumbs_up/version'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.test_files = Dir.glob("test/**/*_test.rb")
test.verbose = true
end
task :build do
system "gem build thumbs_up.gemspec"
end
task :release => :build do
system "gem push thumbs_up-#{ThumbsUp::VERSION}"
end
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.