Sha256: 8b7650a153be41afe506ad8daf0efefe1219421132926a1d944696de4b85464a

Contents?: true

Size: 863 Bytes

Versions: 29

Compression:

Stored size: 863 Bytes

Contents

# frozen_string_literal: true
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'ci/queue/version'

Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.libs << 'lib'
  selected_files = ENV["TEST_FILES"].to_s.strip.split(/\s+/)
  selected_files = nil if selected_files.empty?
  t.test_files = selected_files || FileList['test/**/*_test.rb'] - FileList['test/fixtures/**/*_test.rb']
end

task :default => :test

namespace :scripts do
  task :copy do
    Dir[File.join(CI::Queue::DEV_SCRIPTS_ROOT, '*.lua')].each do |origin|
      filename = File.basename(origin)
      destination = File.join(CI::Queue::RELEASE_SCRIPTS_ROOT, filename)
      File.open(destination, 'w+') do |f|
        f.write("-- AUTOGENERATED FILE DO NOT EDIT DIRECTLY\n")
        f.write(File.read(origin))
      end
    end
  end
end

Rake::Task['build'].enhance ['scripts:copy']

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
ci-queue-0.58.0 Rakefile
ci-queue-0.57.0 Rakefile
ci-queue-0.56.0 Rakefile
ci-queue-0.55.0 Rakefile
ci-queue-0.52.0 Rakefile
ci-queue-0.51.0 Rakefile
ci-queue-0.50.0 Rakefile
ci-queue-0.49.0 Rakefile
ci-queue-0.48.0 Rakefile
ci-queue-0.47.0 Rakefile
ci-queue-0.46.0 Rakefile
ci-queue-0.45.0 Rakefile
ci-queue-0.44.0 Rakefile
ci-queue-0.43.0 Rakefile
ci-queue-0.42.0 Rakefile
ci-queue-0.41.0 Rakefile
ci-queue-0.40.0 Rakefile
ci-queue-0.39.0 Rakefile
ci-queue-0.38.0 Rakefile
ci-queue-0.37.0 Rakefile