Sha256: ea6f4d60492c53b227b5b5d899db4140fca9e1ad620880c49bb209750edfd932
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
require 'knapsack' namespace :knapsack do task :rspec, [:rspec_args] do |t, args| allocator = Knapsack::Allocator.new rspec_args = args[:rspec_args] puts puts 'Report specs:' puts allocator.report_node_specs puts puts 'Leftover specs:' puts allocator.leftover_node_specs puts cmd = %Q[bundle exec rspec #{rspec_args} --default-path #{allocator.spec_dir} -- #{allocator.stringify_node_specs}] exec(cmd) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
knapsack-0.5.0 | lib/tasks/knapsack.rake |