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 foundry to dev/up #638

Merged
merged 4 commits into from
Apr 8, 2024
Merged

add foundry to dev/up #638

merged 4 commits into from
Apr 8, 2024

Conversation

37ng
Copy link
Contributor

@37ng 37ng commented Apr 8, 2024

No description provided.

@37ng 37ng requested a review from tuddman April 8, 2024 20:19
@37ng 37ng requested a review from a team as a code owner April 8, 2024 20:19
@37ng 37ng closed this Apr 8, 2024
@37ng 37ng reopened this Apr 8, 2024
# 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
Copy link
Contributor

@insipx insipx Apr 8, 2024

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

Copy link
Contributor

@tuddman tuddman Apr 8, 2024

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.

dev/up Outdated Show resolved Hide resolved
@37ng 37ng requested a review from humanagent as a code owner April 8, 2024 21:13
Co-authored-by: tuddman <[email protected]>
@37ng 37ng enabled auto-merge (squash) April 8, 2024 21:14
@37ng 37ng merged commit 4326e61 into main Apr 8, 2024
7 checks passed
@37ng 37ng deleted the 37ng/chore branch April 8, 2024 21:20
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