Sha256: f8e6c40363fad451d9282359df97a9c06737fb26c82faa8311e2d2fc57f74c37

Contents?: true

Size: 1002 Bytes

Versions: 20

Compression:

Stored size: 1002 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 ViaQ Data Model Filter Plugin',
    :copyright_software_description => 'Ensure Fluentd events use the ViaQ Data Model',
    :copyright_holders => ['Red Hat, Inc.'],
    :copyright_years => ['2017'],
    :add_path => 'lib:test',
    :output_dir => '.'
  }

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
fluent-plugin-viaq_data_model-0.0.22 Rakefile
fluent-plugin-viaq_data_model-0.0.21 Rakefile
fluent-plugin-viaq_data_model-0.0.20 Rakefile
fluent-plugin-viaq_data_model-0.0.19 Rakefile
fluent-plugin-viaq_data_model-0.0.18 Rakefile
fluent-plugin-viaq_data_model-0.0.17 Rakefile
fluent-plugin-viaq_data_model-0.0.16 Rakefile
fluent-plugin-viaq_data_model-0.0.15 Rakefile
fluent-plugin-viaq_data_model-0.0.14 Rakefile
fluent-plugin-viaq_data_model-0.0.13 Rakefile
fluent-plugin-viaq_data_model-0.0.12 Rakefile
fluent-plugin-viaq_data_model-0.0.11 Rakefile
fluent-plugin-viaq_data_model-0.0.9 Rakefile
fluent-plugin-viaq_data_model-0.0.8 Rakefile
fluent-plugin-viaq_data_model-0.0.7 Rakefile
fluent-plugin-viaq_data_model-0.0.6 Rakefile
fluent-plugin-viaq_data_model-0.0.5 Rakefile
fluent-plugin-viaq_data_model-0.0.3 Rakefile
fluent-plugin-viaq_data_model-0.0.2 Rakefile
fluent-plugin-viaq_data_model-0.0.1 Rakefile