forked from fabric8io/fluent-plugin-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
29 lines (24 loc) · 713 Bytes
/
Rakefile
File metadata and controls
29 lines (24 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require "bundler/gem_tasks"
require "rake/testtask"
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
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