-
Notifications
You must be signed in to change notification settings - Fork 23
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 foundry to dev/up #638
Conversation
# install foundry for tests that require mocking blockchain | ||
curl -L https://foundry.paradigm.xyz | bash | ||
# you made need to adjust this depending on which $SHELL you use | ||
source $HOME/.zshenv |
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.
do you know if source $PROFILE
would work here?
ref: https://raw.githubusercontent.com/foundry-rs/foundry/master/foundryup/install
echo "Detected your preferred shell is $PREF_SHELL and added foundryup to PATH."
echo "Run 'source $PROFILE' or start a new terminal session to use foundryup."
echo "Then, simply run 'foundryup' to install Foundry."
I haven't tried it myself yet
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.
no, as its a different shell environment ...
❯ dev/up
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2189 100 2189 0 0 14474 0 --:--:-- --:--:-- --:--:-- 14474
Installing foundryup...
Detected your preferred shell is zsh and added foundryup to PATH.
Run 'source /Users/studd/.zshenv' or start a new terminal session to use foundryup.
Then, simply run 'foundryup' to install Foundry.
dev/up: line 19: PROFILE: unbound variable
... but If anyone does hit the error I think its self-explanatory enough to resolve.
Co-authored-by: tuddman <[email protected]>
No description provided.