Sha256: 86508fc05a709eb5f8d915459338b6d1ca64817a425f1148c3d6ec35b297f6f0
Contents?: true
Size: 991 Bytes
Versions: 1
Compression:
Stored size: 991 Bytes
Contents
# frozen_string_literal: true require 'riemann/tools/version' require 'bundler/gem_tasks' require 'github_changelog_generator/task' GitHubChangelogGenerator::RakeTask.new :changelog do |config| config.user = 'riemann' config.project = 'riemann-tools' config.exclude_labels = %w[dependencies skip-changelog] config.future_release = "v#{Riemann::Tools::VERSION}" end desc 'Recursively build all gems' task :rbuild do Dir.glob('tools/**') do |dir| Dir.chdir(dir) sh 'rake gem' Dir.chdir('../..') end end Rake::Task['build'].enhance(['gen_parser']) 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
riemann-tools-1.11.0 | Rakefile |