Skip to content

Commit

Permalink
Added rake task to regenerate ruby parser
Browse files Browse the repository at this point in the history
  • Loading branch information
namelessjon committed Jun 6, 2010
1 parent b0845dd commit 2098d1a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Rakefile
Expand Up @@ -29,3 +29,9 @@ rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

file 'lib/exalted_math/math.rb' => 'lib/exalted_math/math.treetop' do
sh "tt lib/exalted_math/math.treetop"
end

desc "Regenerate the treetop file"
task :treetop => 'lib/exalted_math/math.rb'

0 comments on commit 2098d1a

Please sign in to comment.