Commit 7240ceb0 authored by Nicolas "Norswap" Laurent's avatar Nicolas "Norswap" Laurent Committed by norswap

don't require yarn, use pnpm if available

parent 93ff2cd7
......@@ -21,11 +21,15 @@ minigeth_default_arch:
mipsevm:
cd mipsevm && go build
contracts: yarn
contracts: nodejs
npx hardhat compile
yarn:
yarn install
nodejs:
if [ -x "$(command -v pnpm)" ]; then \
pnpm install; \
else \
npm install; \
fi
define clear_cache
rm -rf /tmp/cannon
......@@ -78,4 +82,4 @@ mrproper: clean
rm -rf mipigo/venv
.PHONY: build unicorn submodule minigeth_mips minigeth_default_arch mipsevm contracts \
yarn clean mrproper test_challenge test_mipsevm test_minigeth test
nodejs clean mrproper test_challenge test_mipsevm test_minigeth test
......@@ -37,7 +37,7 @@ contracts -- A Merkleized MIPS processor on chain + the challenge logic
## Building
Pre-requisites: Go, Node.js, Yarn (`npm install -g yarn`) and Make.
Pre-requisites: Go, Node.js, and Make.
```
make build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment