File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed
Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4- export AZTEC_PATH=" ${AZTEC_PATH:- $HOME / .aztec} "
5- if [[ -z " ${VERSION:- } " ]]; then
6- VERSION=$( cat " $AZTEC_PATH /default_version" 2> /dev/null || echo " latest" )
7- fi
8- export VERSION
9- export DOCKER_REPO=" ${DOCKER_REPO:- " aztecprotocol/aztec" } "
10-
114if [[ $PWD != ${HOME} * ]]; then
125 >&2 echo " Due to how we containerize our applications, we require your working directory to be somewhere within $HOME ."
136 exit 1
@@ -23,7 +16,7 @@ if [ "${1:-}" == "lsp" ]; then
2316 -v $HOME :$HOME \
2417 -e HOME=$HOME \
2518 --entrypoint=/usr/src/noir/noir-repo/target/release/nargo \
26- $DOCKER_REPO : $VERSION lsp
19+ aztecprotocol/aztec lsp
2720 exit
2821fi
2922
@@ -43,4 +36,4 @@ docker run ${args:-} \
4336 -e HOME=$HOME \
4437 --workdir=" $PWD " \
4538 --entrypoint=/usr/src/noir/noir-repo/target/release/nargo \
46- $DOCKER_REPO : $VERSION " $@ "
39+ aztecprotocol/aztec " $@ "
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4- export AZTEC_PATH=" ${AZTEC_PATH:- $HOME / .aztec} "
5- if [[ -z " ${VERSION:- } " ]]; then
6- VERSION=$( cat " $AZTEC_PATH /default_version" 2> /dev/null || echo " latest" )
7- fi
8- export VERSION
9- export DOCKER_REPO=" ${DOCKER_REPO:- " aztecprotocol/aztec" } "
10-
114if [[ $PWD != ${HOME} * ]]; then
125 >&2 echo " Due to how we containerize our applications, we require your working directory to be somewhere within $HOME ."
136 exit 1
@@ -29,4 +22,4 @@ docker run ${args:-} \
2922 -e HOME=$HOME \
3023 --workdir=" $PWD " \
3124 --entrypoint=/usr/src/aztec-postprocess-contract/transpile_contract_and_gen_vks.sh \
32- $DOCKER_REPO : $VERSION " $@ "
25+ aztecprotocol/aztec " $@ "
You can’t perform that action at this time.
0 commit comments