Skip to content

Use executableURL in build script#337

Merged
dfed merged 2 commits intomainfrom
dfed--use-executableURL-in-build-script
Feb 23, 2025
Merged

Use executableURL in build script#337
dfed merged 2 commits intomainfrom
dfed--use-executableURL-in-build-script

Conversation

@dfed
Copy link
Copy Markdown
Collaborator

@dfed dfed commented Feb 21, 2025

Existing API was deprecated

@dfed dfed requested a review from bmaddox February 21, 2025 02:32
@dfed dfed self-assigned this Feb 21, 2025
task.executableURL = .init(filePath: commandPath)
task.arguments = arguments
print("Launching command: \(commandPath) \(arguments.joined(separator: " "))")
task.launch()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

launch() is also deprecated. Could this be replaced with try task.run()?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh snap. yeah let me take a pass at this. thanks for the call out!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for the poke. Merging + updating my other repos too

@dfed dfed merged commit 036197f into main Feb 23, 2025
11 checks passed
@dfed dfed deleted the dfed--use-executableURL-in-build-script branch February 23, 2025 17:37
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

Successfully merging this pull request may close these issues.

2 participants