public
Fork of nathansobo/treetop
Description: A Ruby-based parsing DSL based on parsing expression grammars.
Homepage: http://treetop.rubyforge.org
Clone URL: git://github.com/juretta/treetop.git
Search Repo:
Petteri Räty (author)
Thu Mar 13 07:46:17 -0700 2008
Nathan Sobo (committer)
Thu Mar 13 21:31:39 -0700 2008
commit  28f98a7c3c4bccfc3f0de0db7930240698aec8ba
tree    fac482c5693e82454788b35c3da83c2864527944
parent  be4848611026d224ce106ff3249214f957dcb63c
treetop / Rakefile
100644 35 lines (30 sloc) 0.899 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
dir = File.dirname(__FILE__)
require 'rubygems'
require 'rake'
$LOAD_PATH.unshift(File.join(dir, 'vendor', 'rspec', 'lib'))
require 'spec/rake/spectask'
 
Gem::manage_gems
require 'rake/gempackagetask'
 
task :default => :spec
 
Spec::Rake::SpecTask.new do |t|
  t.pattern = 'spec/**/*spec.rb'
end
 
gemspec = Gem::Specification.new do |s|
  s.name = "treetop"
  s.version = "1.2.3"
  s.author = "Nathan Sobo"
  s.email = "nathansobo@gmail.com"
  s.homepage = "http://functionalform.blogspot.com"
  s.platform = Gem::Platform::RUBY
  s.summary = "A Ruby-based text parsing and interpretation DSL"
  s.files = FileList["README", "Rakefile", "{test,lib,bin,doc,examples}/**/*"].to_a
  s.bindir = "bin"
  s.executables = ["tt"]
  s.require_path = "lib"
  s.autorequire = "treetop"
  s.has_rdoc = false
  s.add_dependency "polyglot"
end
 
Rake::GemPackageTask.new(gemspec) do |pkg|
  pkg.need_tar = true
end