Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 23 lines (19 sloc) 0.534 kB
5b36049 @pengwynn full 02 coverage
authored
1 $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
2 require "bundler/version"
3 require "shoulda/tasks"
0586aec @pengwynn corrected yajl dependency
authored
4 require 'lib/plancast'
3dc4c66 @pengwynn Initial commit to plancast.
authored
5
5b36049 @pengwynn full 02 coverage
authored
6 require "rake/testtask"
3dc4c66 @pengwynn Initial commit to plancast.
authored
7 Rake::TestTask.new(:test) do |test|
5b36049 @pengwynn full 02 coverage
authored
8 test.ruby_opts = ["-rubygems"] if defined? Gem
9 test.libs << "lib" << "test"
10 test.pattern = "test/**/*_test.rb"
3dc4c66 @pengwynn Initial commit to plancast.
authored
11 end
5b36049 @pengwynn full 02 coverage
authored
12
f0017cd @pengwynn updated rakefile
authored
13 desc "Build the gem"
5b36049 @pengwynn full 02 coverage
authored
14 task :build do
15 system "gem build plancast.gemspec"
3dc4c66 @pengwynn Initial commit to plancast.
authored
16 end
5b36049 @pengwynn full 02 coverage
authored
17
f0017cd @pengwynn updated rakefile
authored
18 desc "Build and release the gem"
5b36049 @pengwynn full 02 coverage
authored
19 task :release => :build do
3a98b47 @pengwynn updated gemspec for 0.1.0
authored
20 system "gem push plancast-#{Plancast::VERSION}.gem"
3dc4c66 @pengwynn Initial commit to plancast.
authored
21 end
5b36049 @pengwynn full 02 coverage
authored
22
23 task :default => :test
Something went wrong with that request. Please try again.