mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-05 07:23:12 +00:00
Add pnpm dependency installation for rln tests
This commit is contained in:
parent
da4946f59b
commit
cb12c7766e
7
Makefile
7
Makefile
@ -112,11 +112,8 @@ ifeq (, $(shell which cargo))
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
|
||||
endif
|
||||
|
||||
anvil: rustup
|
||||
ifeq (, $(shell which anvil 2> /dev/null))
|
||||
# Install Anvil if it's not installed
|
||||
./scripts/install_anvil.sh
|
||||
endif
|
||||
rln-deps: rustup
|
||||
./scripts/install_rln_tests_dependencies.sh
|
||||
|
||||
deps: | deps-common nat-libs waku.nims
|
||||
|
||||
|
||||
8
scripts/install_pnpm.sh
Executable file
8
scripts/install_pnpm.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Install pnpm
|
||||
if ! command -v pnpm &> /dev/null; then
|
||||
echo "pnpm is not installed, installing it now..."
|
||||
curl -L https://unpkg.com/@pnpm/self-installer | node
|
||||
fi
|
||||
|
||||
11
scripts/install_rln_tests_dependencies.sh
Executable file
11
scripts/install_rln_tests_dependencies.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Install Anvil
|
||||
if ! command -v anvil &> /dev/null; then
|
||||
./scripts/install_anvil.sh
|
||||
fi
|
||||
|
||||
#Install pnpm
|
||||
if ! command -v pnpm &> /dev/null; then
|
||||
./scripts/install_pnpm.sh
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user