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

Implement macOS support #21

Closed
patrickfreed opened this issue Oct 30, 2022 · 3 comments
Closed

Implement macOS support #21

patrickfreed opened this issue Oct 30, 2022 · 3 comments

Comments

@patrickfreed
Copy link
Contributor

This is a tracking issue for macOS support. More details will be added as that work is scoped out.

Once Linux has reached MVP status, this will be addressed.

@iainsmith
Copy link

HI @patrickfreed, I was looking at this quickly and was wondering what's needed for this:

  • Update Package.swift
  • Implement MacPlatform.swift and struct Mac: Platform (or would you prefer Darwin) as the name here?

I'd be keen to look at an existing branch, if one exists.

@sdavids
Copy link

sdavids commented Jun 22, 2024

Similar to Linux, the bootstrapping script for macOS will create a `~/.swiftly/bin` directory and drop the swiftly executable in it. A similar `~/.swiftly/env` file will be created and a message will be printed suggesting users add source `~/.swiftly/env` to their `.bash_profile` or `.zshrc`.

Please honor XDG conventions on MacOS also—Mac users prefer uncluttered home directories too 😉

Here is how swiftpm did it: swiftlang/swift-package-manager#7386

@cmcgee1024
Copy link
Member

This has been implemented in #121

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

4 participants