Sha256: 159470e6aa25b0b6db57a7d6c669ad9bf591b6716a9944510f4d1dc0399a2964

Contents?: true

Size: 759 Bytes

Versions: 22

Compression:

Stored size: 759 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
require File.expand_path('../lib/inspec_tools/version', __FILE__)

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList['test/**/*_test.rb']
end

namespace :test do
  Rake::TestTask.new(:windows) do |t|
    t.libs << 'test'
    t.libs << "lib"
    t.test_files = Dir.glob([
      'test/unit/inspec_tools/csv_test.rb',
      'test/unit/inspec_tools/inspec_test.rb',
      'test/unit/inspec_tools/xccdf_test.rb',
      'test/unit/utils/inspec_util_test.rb',
      'test/unit/inspec_tools_test.rb'
    ])
  end
end

desc 'Build and publish the gem'
task publish: :build do
  system("gem push pkg/inspec_tools-#{InspecTools::VERSION}.gem")
end

task :default => :test

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
inspec_tools-2.0.6 Rakefile
inspec_tools-2.0.5 Rakefile
inspec_tools-2.0.4 Rakefile
inspec_tools-2.0.3 Rakefile
inspec_tools-2.0.2.pre13 Rakefile
inspec_tools-0.0.0.1.ENOTAG Rakefile
inspec_tools-2.0.2.pre11 Rakefile
inspec_tools-2.0.2.pre10 Rakefile
inspec_tools-2.0.2.pre9 Rakefile
inspec_tools-2.0.2.pre8 Rakefile
inspec_tools-2.0.2.pre7 Rakefile
inspec_tools-2.0.2.pre6 Rakefile
inspec_tools-2.0.2.pre5 Rakefile
inspec_tools-2.0.1.pre4 Rakefile
inspec_tools-2.0.1.pre3 Rakefile
inspec_tools-2.0.1.pre2 Rakefile
inspec_tools-2.0.1.pre1 Rakefile
inspec_tools-2.0.0 Rakefile
inspec_tools-1.8.3 Rakefile
inspec_tools-1.8.2 Rakefile