Rakefile in nagios_parser-1.1.0 vs Rakefile in nagios_parser-1.2.0
- old
+ new
@@ -12,9 +12,15 @@
task :status => [ 'lib/nagios_parser/status/parser.rb' ]
desc 'Generate the object parser with racc'
task :object => [ 'lib/nagios_parser/object/parser.rb' ]
+ desc 'Generate the resource parser with racc'
+ task :resource => [ 'lib/nagios_parser/resource/parser.rb' ]
+
+ desc 'Generate the main config parser with racc'
+ task :config => [ 'lib/nagios_parser/config/parser.rb' ]
+
rule '.rb' => '.y' do |target|
sh "racc -o #{target.name} #{target.source}"
end
end