Sha256: 250849cbc35c8ec87402843487c659bea1aa342f89439fa01cd2feeee98c505f
Contents?: true
Size: 464 Bytes
Versions: 2
Compression:
Stored size: 464 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' RSpec::Core::RakeTask.new do |t| t.rcov = false end namespace :parser do desc 'Generate the status parser with racc' task :status => [ 'lib/nagios_parser/status/parser.rb' ] desc 'Generate the object parser with racc' task :object => [ 'lib/nagios_parser/object/parser.rb' ] rule '.rb' => '.y' do |target| sh "racc -o #{target.name} #{target.source}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nagios_parser-1.1.0 | Rakefile |
nagios_parser-1.0.0 | Rakefile |