Skip to content

Commit

Permalink
Add foundry installation in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigaMr committed Jan 21, 2025
1 parent 61d5467 commit c16a6af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integrations/foundry/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
all: build test

build:
@if ! command -v forge > /dev/null; then \
curl -L https://foundry.paradigm.xyz | bash; \
$$HOME/.foundry/bin/foundryup; \
fi
forge install foundry-rs/forge-std --no-commit --no-git
forge install oasisprotocol/sapphire-paratime --no-commit --no-git
cd src/precompiles && cargo +nightly build --release
Expand Down

0 comments on commit c16a6af

Please sign in to comment.