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