Sha256: 50a23ad09fabd146da27777642c97a83e51f3f12a9e8f2df77721cb41d4fdbb8

Contents?: true

Size: 1009 Bytes

Versions: 19

Compression:

Stored size: 1009 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 => 'ASL2',
    :copyright_software => 'Fluentd Kubernetes Metadata Filter Plugin',
    :copyright_software_description => 'Enrich Fluentd events with Kubernetes metadata',
    :copyright_holders => ['Red Hat, Inc.'],
    :copyright_years => ['2015'],
    :add_path => 'lib:test',
    :output_dir => '.'
  }

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

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
fluent-plugin-kubernetes_metadata_filter-0.33.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.32.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.31.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.30.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.29.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.28.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.27.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.26.3 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.26.2 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.26.1 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.26.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.25.3 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.25.2 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.25.1 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.25.0 Rakefile
fluent-plugin-kubernetes_metadata_filter_v0.14-0.24.1 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.24.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.23.0 Rakefile
fluent-plugin-kubernetes_metadata_filter-0.22.0 Rakefile