From d10342eb6c7a04d40254a12418448c3cbf5a800d Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Mon, 6 Nov 2023 22:27:24 +0000 Subject: [PATCH] fix: remove noirup from noir-contract's bootstrap (#3252) Removes the noirup commands from noir-compiler's bootstrap script as it's not needed since the switch to noir_wasm. --- yarn-project/noir-contracts/bootstrap.sh | 16 ++-------------- yarn-project/noir-contracts/scripts/compile.sh | 2 +- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/yarn-project/noir-contracts/bootstrap.sh b/yarn-project/noir-contracts/bootstrap.sh index 1077490d138..43284ba2a79 100755 --- a/yarn-project/noir-contracts/bootstrap.sh +++ b/yarn-project/noir-contracts/bootstrap.sh @@ -1,15 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash -# Install noir if it is not installed already -if ! command -v noirup &> /dev/null -then - echo "Installing noir" - source ./scripts/install_noirup.sh -fi - -# Update noir -./scripts/install_noir.sh - -# Use yarn script to compile and create types -yarn -yarn noir:build:all \ No newline at end of file +yarn noir:build:all diff --git a/yarn-project/noir-contracts/scripts/compile.sh b/yarn-project/noir-contracts/scripts/compile.sh index 3b1da6139d6..10594042c8e 100755 --- a/yarn-project/noir-contracts/scripts/compile.sh +++ b/yarn-project/noir-contracts/scripts/compile.sh @@ -13,7 +13,7 @@ build() { echo "Compiling $CONTRACT_NAME..." rm -rf ${CONTRACT_FOLDER}/target - node "$COMPILER" contract "$CONTRACT_FOLDER" + node --no-warnings "$COMPILER" contract "$CONTRACT_FOLDER" } export -f build