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 an install.ps1 script for Windows. #93

Merged
merged 5 commits into from
Sep 9, 2024

Conversation

jsirois
Copy link
Contributor

@jsirois jsirois commented Sep 8, 2024

The install.sh script can still be used with Git bash, but hopefully
this native PowerShell script is a bit more friendly for Windows users.

Fixes #91

The `install.sh` script can still be used with Git bash, but hopefully
this native PowerShell script is a bit more friendly for Windows users.

Fixes a-scie#91
@jsirois
Copy link
Contributor Author

jsirois commented Sep 8, 2024

I'm pretty sure none of us has Windows / PowerShell experience; so this may just be educational reading. It was for me - learned a bit today.

install.ps1 Outdated Show resolved Hide resolved
@@ -180,10 +178,6 @@ while (($# > 0)); do
INSTALL_PREFIX="$2"
shift
;;
--base-name | -b)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kwlzn I got rid of this because I assume you just copy-pastaed from scie-pants. In that case there was a period of trial where the pants bash script was still in use where having a non-standard name was useful. We don't have that transition problem; so this knob seems gratuitous to me.

Copy link
Collaborator

Choose a reason for hiding this comment

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

yep - sgtm.

@jsirois
Copy link
Contributor Author

jsirois commented Sep 8, 2024

Alright, I'm actually happy with this now. All good for review.

Copy link
Collaborator

@benjyw benjyw left a comment

Choose a reason for hiding this comment

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

TIL some powershell!

Copy link
Collaborator

@kwlzn kwlzn left a comment

Choose a reason for hiding this comment

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

lgtm

@jsirois jsirois merged commit 69238b3 into a-scie:main Sep 9, 2024
7 checks passed
@jsirois jsirois deleted the install/Windows branch September 9, 2024 18:26
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.

Write an install.ps1 to support Windows installs ~1st class.
3 participants