-
Notifications
You must be signed in to change notification settings - Fork 73
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
Updated instructions to work on mac also #101
base: master
Are you sure you want to change the base?
Conversation
README.md
Outdated
export HOME=/Users/USER | ||
export ARDUINO_LIB_DIR=/Documents/Arduino/libraries | ||
``` | ||
* Then run `source .bashrc` (Linux) or `source .bash_profile` (Mac/OSX) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be source ~/.bashrc
Docker output:
bash: .bashrc: No such file or directory
root@7a4055dfae8e:/# source ~/.bashrc```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brentru If it's mac you have to use .bash_profile. Although I am not sure if that comes pre-created on OSX
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think what brent was saying is that the path should be given within the home directory: ~/.bashrc
instead of just .bashrc
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh you're completely right lol
README.md
Outdated
* Mac/OSX | ||
```bash | ||
alias test-platforms='python3 ~/path/to/ci-arduino/build_platform.py' | ||
export HOME=/Users/USER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to do this without exporting the HOME
alias? Could you try making another alias? Exporting HOME
ended up seriously messing up my home directory in macOS, very difficult to restore back to original alias.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooh, yeah I did not think about that. I'll change the name so it won't conflict with that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do!
Tested with the wippersnapper repository