Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add argument to specify output directory for swift or xcodebuild logs #787

Open
art-divin opened this issue Jul 3, 2023 · 0 comments
Open

Comments

@art-divin
Copy link

art-divin commented Jul 3, 2023

Context

The default method of calculating build result output directory in Module.swift's init?(spmArguments:spmName:inPath) cannot be set from the outside:

let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("swift-build-\(UUID().uuidString).log")

When using CI like CircleCI, /tmp/ may not be available and due to nature of artefacts spec in config.yaml,
it would be great to be able to control output directory for Module command's processes 'swift' and 'xcodebuild' as an argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant