Rakefile in fluent-plugin-kubernetes-0.2.3 vs Rakefile in fluent-plugin-kubernetes-0.2.4
- old
+ new
@@ -6,5 +6,24 @@
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
task :default => :test
+
+desc "Add copyright headers"
+task :headers do
+ require 'rubygems'
+ require 'copyright_header'
+
+ args = {
+ :license => 'ASL2',
+ :copyright_software => 'Fluentd Kubernetes Output 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