Skip to content

Commit 826217b

Browse files
Glob path fix (#100)
* go-xcode dependency update * Add escapeGlobPath for the xcodeuitests scanner too
1 parent ac74021 commit 826217b

File tree

6 files changed

+55
-20
lines changed

6 files changed

+55
-20
lines changed

Gopkg.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codesigndocuitests/iostestrunner.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"github.com/bitrise-io/go-utils/pathutil"
1010
"github.com/bitrise-tools/go-xcode/plistutil"
1111
"github.com/bitrise-tools/go-xcode/profileutil"
12+
"github.com/bitrise-tools/go-xcode/utility"
1213
)
1314

1415
// IOSTestRunner ...
@@ -21,7 +22,7 @@ type IOSTestRunner struct {
2122

2223
// NewIOSTestRunners is the *-Runner.app which is generated with the xcodebuild build-for-testing command
2324
func NewIOSTestRunners(path string) ([]*IOSTestRunner, error) {
24-
runnerPattern := filepath.Join(path, "*-Runner.app")
25+
runnerPattern := filepath.Join(utility.EscapeGlobPath(path), "*-Runner.app")
2526
possibleTestRunnerPths, err := filepath.Glob(runnerPattern)
2627
if err != nil {
2728
return nil, err

vendor/github.com/bitrise-tools/go-xcode/profileutil/util.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/bitrise-tools/go-xcode/utility/glob.go

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/bitrise-tools/go-xcode/xcarchive/ios.go

Lines changed: 34 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/bitrise-tools/go-xcode/xcarchive/macos.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)