Rakefile in riemann-tools-1.2.0 vs Rakefile in riemann-tools-1.3.0

- old
+ new

@@ -20,11 +20,18 @@ end end task build: :gen_parser -desc 'Generate the uptime parser' -task gen_parser: 'lib/riemann/tools/uptime_parser.tab.rb' +desc 'Generate parsers' +task gen_parser: [ + 'lib/riemann/tools/mdstat_parser.tab.rb', + 'lib/riemann/tools/uptime_parser.tab.rb', +] + +file 'lib/riemann/tools/mdstat_parser.tab.rb' => 'lib/riemann/tools/mdstat_parser.y' do + sh 'racc -S lib/riemann/tools/mdstat_parser.y' +end file 'lib/riemann/tools/uptime_parser.tab.rb' => 'lib/riemann/tools/uptime_parser.y' do sh 'racc -S lib/riemann/tools/uptime_parser.y' end