Sha256: d4fb3e0885378f8d9cbd229c734475114fd8b2be0156991c952d29024645cfe2
Contents?: true
Size: 577 Bytes
Versions: 7
Compression:
Stored size: 577 Bytes
Contents
#!/usr/bin/env ruby # This task detects and prints out the RSpec files for the current build group require "#{File.dirname(__FILE__)}/../lib/peak_flow_utils" args = {} ARGV.each do |arg| if (match = arg.match(/\A--(.+?)=(.+)\Z/)) args[match[1]] = match[2] end end rspec_helper = PeakFlowUtils::RspecHelper.new( groups: args.fetch("groups").to_i, group_number: args.fetch("group-number").to_i, only_types: args["only-types"]&.split(","), tags: args["tags"]&.split(",") ) print rspec_helper.group_files.map { |group_file| group_file.fetch(:path) }.join(" ")
Version data entries
7 entries across 7 versions & 1 rubygems