Files
oga/Rakefile
T
Yorick Peterse eae13d21ed Namespaced the lexer/parser under Oga::XML.
With the upcoming XPath and CSS selector lexers/parsers it will be confusing to
keep these in the root namespace.
2014-03-25 09:34:38 +01:00

24 lines
476 B
Ruby

require 'bundler/gem_tasks'
require 'digest/sha2'
require 'rake/clean'
require 'cliver'
GEMSPEC = Gem::Specification.load('oga.gemspec')
LEXER_INPUT = 'lib/oga/xml/lexer.rl'
LEXER_OUTPUT = 'lib/oga/xml/lexer.rb'
HTML_PARSER = 'lib/oga/xml/parser.rb'
GENERATED_FILES = ['coverage', 'yardoc', LEXER_OUTPUT, HTML_PARSER]
GENERATED_FILES.each do |file|
CLEAN << file if File.exist?(file)
end
Dir['./task/*.rake'].each do |task|
import(task)
end
task :default => :test