Sha256: c1702bde5c8e6869f145224c5ce55a882ef480a2a14b06622a7cdf818b5190d1

Contents?: true

Size: 651 Bytes

Versions: 3

Compression:

Stored size: 651 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'rake/testtask'
require 'rake/clean'

task :test => [:base_test]

desc 'Run test_unit based test'
Rake::TestTask.new(:base_test) do |t|
  t.libs << "test"
  t.test_files = (Dir["test/test_*.rb"] + Dir["test/plugin/test_*.rb"] - ["helper.rb"]).sort
  t.verbose = true
  #t.warning = true
end

desc 'Import patterns from submodules'
task 'patterns:import' do
  `git submodule --quiet foreach pwd`.split($\).each do |submodule_path|
    Dir.glob(File.join(submodule_path, "patterns/*")) do |pattern|
      cp(pattern, "patterns/", verbose: true)
    end
  end
end

task :default => [:test, :build]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluent-plugin-grok-parser-0.3.1 Rakefile
fluent-plugin-grok-parser-0.3.0 Rakefile
fluent-plugin-grok-parser-0.2.0 Rakefile