Sha256: 55459bd2f5ceedc723d9112f3b5b499fb4a623c95abba17be39643790bb1d5e0

Contents?: true

Size: 435 Bytes

Versions: 13

Compression:

Stored size: 435 Bytes

Contents

# frozen_string_literal: true

require 'knapsack_pro'

namespace :knapsack_pro do
  namespace :queue do
    task :minitest, [:minitest_args] do |_, args|
      Kernel.exec("RAILS_ENV=test RACK_ENV=test #{$PROGRAM_NAME} 'knapsack_pro:queue:minitest_go[#{args[:minitest_args]}]'")
    end

    task :minitest_go, [:minitest_args] do |_, args|
      KnapsackPro::Runners::Queue::MinitestRunner.run(args[:minitest_args])
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
knapsack_pro-7.13.0 lib/tasks/queue/minitest.rake
knapsack_pro-7.12.1 lib/tasks/queue/minitest.rake
knapsack_pro-7.12.0 lib/tasks/queue/minitest.rake
knapsack_pro-7.11.0 lib/tasks/queue/minitest.rake
knapsack_pro-7.10.0 lib/tasks/queue/minitest.rake
knapsack_pro-7.9.0 lib/tasks/queue/minitest.rake
knapsack_pro-7.8.2 lib/tasks/queue/minitest.rake
knapsack_pro-7.8.1 lib/tasks/queue/minitest.rake
knapsack_pro-7.8.0 lib/tasks/queue/minitest.rake
knapsack_pro-7.7.0 lib/tasks/queue/minitest.rake
knapsack_pro-7.6.2 lib/tasks/queue/minitest.rake
knapsack_pro-7.6.1 lib/tasks/queue/minitest.rake
knapsack_pro-7.6.0 lib/tasks/queue/minitest.rake