Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 32 lines (25 sloc) 0.773 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
# -*- ruby -*-

require 'rubygems'
require 'hoe'

Hoe.plugins.delete :rubyforge
Hoe.plugin :minitest
Hoe.plugin :gemspec # `gem install hoe-gemspec`
Hoe.plugin :git # `gem install hoe-git`
Hoe.plugin :bundler # `gem install hoe-bundler`

Hoe.spec 'journey' do
  developer('Aaron Patterson', 'aaron@tenderlovemaking.com')
  self.readme_file = 'README.rdoc'
  self.history_file = 'CHANGELOG.rdoc'
  self.extra_rdoc_files = FileList['*.rdoc']
  self.extra_dev_deps += [
    ["racc", ">= 1.4.6"],
    ["rdoc", "~> 3.11"],
    ["json"],
  ]
end

rule '.rb' => '.y' do |t|
  sh "racc -l -o #{t.name} #{t.source}"
end

task :compile => "lib/journey/parser.rb"

Rake::Task[:test].prerequisites.unshift "lib/journey/parser.rb"

# vim: syntax=ruby
Something went wrong with that request. Please try again.