Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 37 lines (31 sloc) 0.938 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 Gem::manage_gems
8 require 'rake/gempackagetask'
9
10 task :default => :spec
11
12 Spec::Rake::SpecTask.new do |t|
13 t.pattern = 'spec/**/*spec.rb'
14 end
15
16 gemspec = Gem::Specification.new do |s|
17 s.name = "treetop"
18 s.version = "1.1.6"
19 s.author = "Nathan Sobo"
20 s.email = "nathansobo@gmail.com"
21 s.homepage = "http://functionalform.blogspot.com"
22 s.platform = Gem::Platform::RUBY
23 s.summary = "A Ruby-based text parsing and interpretation DSL"
24 s.files = FileList["README", "Rakefile", "{test,lib,bin,doc,examples}/**/*"].to_a
25 s.bindir = "bin"
26 s.executables = ["tt"]
27 s.require_path = "lib"
28 s.autorequire = "treetop"
29 s.has_rdoc = false
30 s.add_dependency "facets", ">=2.0.2"
31 s.add_dependency "polyglot"
32 end
33
34 Rake::GemPackageTask.new(gemspec) do |pkg|
35 pkg.need_tar = true
36 end
Something went wrong with that request. Please try again.