From 6c5f4d2a9fe694b6377ebc40186de71f732ac427 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Mon, 8 May 2023 00:01:57 +0200 Subject: [PATCH] Update restore --- scripts/restore | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 0fea344..8002398 100644 --- a/scripts/restore +++ b/scripts/restore @@ -34,10 +34,12 @@ ynh_install_nodejs --nodejs_version=$NODEJS_VERSION #================================================= # REINSTALL PNPM #================================================= -ynh_script_progression --message="Reinstalling pnpm..." --weight=1 +ynh_script_progression --message="Reinstalling pnpm + rust..." --weight=1 -# Define and install pnpm +# Define and install pnpm + rust pushd "$install_dir" + curl https://sh.rustup.rs -sSf | ynh_exec_warn_less ynh_exec_as $app 'sh -s -- -y' + export PATH="$install_dir/.cargo/bin:$PATH" ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate