Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: removed obsolete nargo flag #1196

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions yarn-project/noir-contracts/src/scripts/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ for CONTRACT_NAME in "$@"; do
# If VERBOSE is not set, compile with 'nargo' and redirect standard error (stderr) to /dev/null and standard output (stdout) to /dev/null.
# If the compilation fails, rerun the compilation with 'nargo' and show the compiler output.
if [[ -z "${VERBOSE:-}" ]]; then
"$NARGO_COMMAND" compile main --experimental-ssa --contracts 2> /dev/null > /dev/null || (echo "Error compiling contract. Re-running as verbose to show compiler output:"; "$NARGO_COMMAND" compile main --experimental-ssa --contracts);
"$NARGO_COMMAND" compile main --contracts 2> /dev/null > /dev/null || (echo "Error compiling contract. Re-running as verbose to show compiler output:"; "$NARGO_COMMAND" compile main --contracts);
else
"$NARGO_COMMAND" compile main --experimental-ssa --contracts
"$NARGO_COMMAND" compile main --contracts
fi

cd $ROOT
Expand Down