nathansobo / treetop

A Ruby-based parsing DSL based on parsing expression grammars.

This URL has Read+Write access

treetop / Rakefile
a524b9ba » nathansobo 2008-01-11 Got rid of old SVN tags and... 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
aa7f7544 » cjheath 2008-11-27 Setup the gem to auto-build... 15 load "./treetop.gemspec"
a524b9ba » nathansobo 2008-01-11 Got rid of old SVN tags and... 16
aa7f7544 » cjheath 2008-11-27 Setup the gem to auto-build... 17 Rake::GemPackageTask.new($gemspec) do |pkg|
a524b9ba » nathansobo 2008-01-11 Got rid of old SVN tags and... 18 pkg.need_tar = true
19 end