Sha256: 92617e556ea5c3afaa7b11c2427bfdda3dd643d378404d1d3a5f0444f159db87
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
#!/usr/bin/env ruby # -*- encoding: utf-8 -*- if $0 == __FILE__ $:.unshift File.expand_path('../../lib', __FILE__) end require 'xctest-runner' require 'optparse' opts = {} opt = OptionParser.new opt.on('--scheme NAME', 'build the scheme NAME') {|v| opts[:scheme] = v } opt.on('--workspace NAME', 'build the workspace NAME') {|v| opts[:workspace] = v } opt.on('--sdk SDK', 'use SDK as the name or path of the base SDK when building the project') {|v| opts[:sdk] = v } opt.on('--arch ARCH', 'build each target for the architecture ARCH') {|v| opts[:arch] = v } opt.on('--configuration NAME', 'use the build configuration NAME for building each target') {|v| opts[:configuration] = v } opt.on('--test VAL', 'Self | All | None | <TestCaseClassName/testMethodName>') {|v| opts[:test] = v } opt.on('--clean', 'run clean action before build') {|v| opts[:clean] = true } opt.on('--suffix STRING', 'add STRING to build command and xctest command') {|v| opts[:suffix] = v } opt.on_tail("-v", "--version", "Show version") { puts XCTestRunner::VERSION; exit } argv = [] ARGV.each do |arg| argv << arg.gsub(/^-(\w\w+)$/, '--\1') end opt.parse!(argv) XCTestRunner.new(opts).run
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xctest-runner-1.0.2 | bin/xctest-runner |
xctest-runner-1.0.1 | bin/xctest-runner |