Sha256: fa4c681e271edd035bce50ead98f09cd3796bf734c4d5715ce37ea0648a94392

Contents?: true

Size: 653 Bytes

Versions: 6

Compression:

Stored size: 653 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 = false
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

6 entries across 6 versions & 1 rubygems

Version Path
fluent-plugin-grok-parser-2.1.4 Rakefile
fluent-plugin-grok-parser-2.1.3 Rakefile
fluent-plugin-grok-parser-2.1.2 Rakefile
fluent-plugin-grok-parser-2.1.1 Rakefile
fluent-plugin-grok-parser-2.1.0 Rakefile
fluent-plugin-grok-parser-2.0.1 Rakefile