-
Notifications
You must be signed in to change notification settings - Fork 50
Installation workflow improvements #238
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
Installation workflow improvements #238
Conversation
Prepare for shell one-liner that update the shell environment
I'm interested in the desired installation workflow you are thinking, so would you mind sharing the shape of the copy-pastable script? Are you planning to prohibit using the .pkg installer in GUI context? |
Not prohibit it, just trying to direct the GUI installer to try and install in the current user's home directory for a better self-update experience. |
@swift-ci test macOS |
@swift-ci test |
Is there a PR for |
@shahmishal it's here: #249 |
If the user happens to use the GUI installer to install the macOS pkg then
it will end up being install in /usr/local/bin/swift with no mechanism in place
for self-update. This patch redirects the GUI installer to install into the user
home directory.
For the easiest user experience swift.org may provide a copy-pastable set
of shell commands that can take the user directly to the
swiftly init
routine.In this case there may be commands that can also take care of updating the
shell environment. In this case the init subcommand can take an option flag
to quiet the shell instructions.