Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (17 sloc) 0.417 kb
a524b9b @nathansobo Got rid of old SVN tags and trunk dirs and moved everything to root.
authored
1 dir = File.dirname(__FILE__)
2 require 'rubygems'
3 require 'rake'
4 $LOAD_PATH.unshift(File.join(dir, 'vendor', 'rspec', 'lib'))
5 require 'spec/rake/spectask'
6
7 require 'rake/gempackagetask'
8
9 task :default => :spec
10
11 Spec::Rake::SpecTask.new do |t|
12 t.pattern = 'spec/**/*spec.rb'
13 end
14
aa7f754 @cjheath Setup the gem to auto-build on github by adding a treetop.gemspec
cjheath authored
15 load "./treetop.gemspec"
a524b9b @nathansobo Got rid of old SVN tags and trunk dirs and moved everything to root.
authored
16
aa7f754 @cjheath Setup the gem to auto-build on github by adding a treetop.gemspec
cjheath authored
17 Rake::GemPackageTask.new($gemspec) do |pkg|
a524b9b @nathansobo Got rid of old SVN tags and trunk dirs and moved everything to root.
authored
18 pkg.need_tar = true
19 end
da06c7b @cjheath Changed expectations regarding string literals for Ruby 1.9.1
cjheath authored
20
21 task :version do
22 puts RUBY_VERSION
23 end
Something went wrong with that request. Please try again.