Skip to content

Commit

Permalink
fix: installs foundry at the system level
Browse files Browse the repository at this point in the history
  • Loading branch information
tuddman committed Apr 8, 2024
1 parent 3c5d00e commit 87d29d5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions dev/up
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@ if [[ "${OSTYPE}" == "darwin"* ]]; then
fi
if ! kotlinc -version &>/dev/null; then brew install kotlin; fi
if ! swiftformat -version &>/dev/null; then brew install swiftformat; fi
if ! foundryup -version &>/dev/null; then
# 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
foundryup
fi
fi

rustup update

# install foundry for tests that require mocking blockchain
curl -L https://foundry.paradigm.xyz | bash
source ~/.zshenv
source ~/.bashrc
foundryup


dev/build_validation_service_local
dev/docker/up

1 comment on commit 87d29d5

@tuddman
Copy link
Contributor Author

@tuddman tuddman commented on 87d29d5 Apr 8, 2024

Choose a reason for hiding this comment

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

@37ng this worked for me :). If you want to re-open the PR.

Please sign in to comment.