Sha256: 8d76a7a3cb8135ee971dd5a88d81ac717640ae981c092c0bda2e9a314b799ea8

Contents?: true

Size: 1020 Bytes

Versions: 35

Compression:

Stored size: 1020 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'bump/tasks'

task :test => [:base_test]

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

desc 'Run test_unit based test'
Rake::TestTask.new(:base_test) do |t|
  # To run test for only one file (or file path pattern)
  #  $ bundle exec rake base_test TEST=test/test_specified_path.rb
  #  $ bundle exec rake base_test TEST=test/test_*.rb
  t.libs << 'test'
  t.test_files = Dir['test/**/test_*.rb'].sort
  #t.verbose = true
  t.warning = false
end

desc 'Add copyright headers'
task :headers do
  require 'rubygems'
  require 'copyright_header'

  args = {
    :license => 'Apache-2.0',
    :copyright_software => 'Fluentd Kubernetes Metadata Filter Plugin',
    :copyright_software_description => 'Enrich Fluentd events with Kubernetes metadata',
    :copyright_holders => ['Red Hat, Inc.'],
    :copyright_years => ['2015-2017'],
    :add_path => 'lib:test',
    :output_dir => '.'
  }

  command_line = CopyrightHeader::CommandLine.new( args )
  command_line.execute
end

Version data entries

35 entries across 35 versions & 4 rubygems

Version Path
fluent-plugin-kubernetes_metadata_filter-2.1.6 Rakefile
fluent-plugin-kubernetes_metadata_filter-2.1.5 Rakefile
fluent-plugin-kubernetes_metadata_filter-2.1.4 Rakefile
fluent-plugin-kubernetes_metadata_filter-1.2.1 Rakefile
fluent-plugin-kubernetes_metadata_filter-2.1.3 Rakefile
fluent-plugin-kubernetes_metadata_filter-1.2.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-2.1.2 Rakefile
fluent-plugin-kubernetes_metadata_filter-1.1.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-1.0.3 Rakefile
fluent-plugin-kubernetes_metadata_filter-2.1.1 Rakefile
fluent-plugin-kubernetes_metadata_filter-2.1.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-1.0.2 Rakefile
fluent-plugin-kubernetes_metadata_filter-2.0.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-1.0.1 Rakefile
fluent-plugin-kubernetes_metadata_filter-1.0.0 Rakefile