forked from divad12/khan-dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add full automated setup support for M1 macs (#66)
## Summary: - Updates the `install-mac-homebrew` script to set up homebrew correctly for both x86_64 and arm64 - Ensures khan py2 is installed on x84_64 arch - Runs `npm install` for `our-lovely-cli` (not specific to M1 macs, this just isn't covered in onboarding docs or as part of setup scripts) - Check to verify `/opt/homebrew/bin` is before `/usr/local/bin` in `PATH` to ensure arm64 homebrew is used by default I've run this on my machine and everything works, no longer requiring manual work before running the setup scripts. One issue that might come up is related to dotfiles. This will fail on m1 at the step that verifies the correct order of homebrew binaries. A simple solution would be to move the dotfiles setup up to be the first step that's run. Issue: XXX-XXXX ## Test plan: I've tested each change on my machine, but not from a fresh install Author: jwiesebron Reviewers: yogieric, jwiesebron Required Reviewers: Approved By: yogieric Checks: Pull Request URL: #66
- Loading branch information
Showing
5 changed files
with
163 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/**/packer_cache/ | ||
/**/builds/ | ||
.vscode | ||
.idea* | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters