Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.377 kb
require "rspec/core/rake_task"
require "yard"
desc "Generate the expression parser"
task :parser do
source = "lib/machete/parser.y"
target = "lib/machete/parser.rb"
unless uptodate?(target, [source])
sh "racc -o #{target} #{source}"
end
end
RSpec::Core::RakeTask.new
task :spec => :parser
YARD::Rake::YardocTask.new
task :yard => :parser
task :default => :spec
Jump to Line
Something went wrong with that request. Please try again.