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

Updated instructions to work on mac also #101

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

evaherrada
Copy link
Contributor

Tested with the wippersnapper repository

@evaherrada evaherrada requested a review from brentru June 17, 2021 15:04
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)
Copy link
Member

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```

Copy link
Contributor Author

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

Copy link
Member

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.

Copy link
Contributor Author

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
Copy link
Member

@brentru brentru Jun 21, 2021

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.

Copy link
Contributor Author

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.

Copy link
Member

Choose a reason for hiding this comment

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

Please do!

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.

3 participants