Renamed HTML_PARSER to PARSER_OUTPUT.

This keeps it consistent with the lexer.
This commit is contained in:
Yorick Peterse 2014-03-25 09:35:39 +01:00
parent eae13d21ed
commit 7c03de0e2f
2 changed files with 4 additions and 6 deletions

View File

@ -5,12 +5,10 @@ require 'cliver'
GEMSPEC = Gem::Specification.load('oga.gemspec')
LEXER_INPUT = 'lib/oga/xml/lexer.rl'
LEXER_OUTPUT = 'lib/oga/xml/lexer.rb'
PARSER_OUTPUT = 'lib/oga/xml/parser.rb'
HTML_PARSER = 'lib/oga/xml/parser.rb'
GENERATED_FILES = ['coverage', 'yardoc', LEXER_OUTPUT, HTML_PARSER]
GENERATED_FILES = ['coverage', 'yardoc', LEXER_OUTPUT, PARSER_OUTPUT]
GENERATED_FILES.each do |file|
CLEAN << file if File.exist?(file)

View File

@ -5,4 +5,4 @@ rule '.rb' => '.y' do |task|
end
desc 'Generates the parser'
task :parser => [HTML_PARSER]
task :parser => [PARSER_OUTPUT]