Skip to content

Commit

Permalink
fix: remove noirup from noir-contract's bootstrap (#3252)
Browse files Browse the repository at this point in the history
Removes the noirup commands from noir-compiler's bootstrap script as
it's not needed since the switch to noir_wasm.
  • Loading branch information
alexghr authored Nov 6, 2023
1 parent d02726f commit d10342e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions yarn-project/noir-contracts/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -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
yarn noir:build:all
2 changes: 1 addition & 1 deletion yarn-project/noir-contracts/scripts/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d10342e

Please sign in to comment.