-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git subrepo pull (merge) --force --branch=jf/brillig-cow-assign2 ./no…
…ir/noir-repo subrepo: subdir: "noir/noir-repo" merged: "85ba5f688e" upstream: origin: "https://github.com/noir-lang/noir" branch: "jf/brillig-cow-assign2" commit: "85ba5f688e" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
- Loading branch information
1 parent
f6d17c9
commit bbe25fc
Showing
63 changed files
with
384 additions
and
684 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
73d640a4a033f0c865d45da470ef40c1fb03a844 | ||
9e246c1289fa40c35c4b28d2f0081dfdc2aa9d19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Dockerfile* | ||
.dockerignore | ||
|
||
# Yarn | ||
.pnp.* | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
packages | ||
**/package.tgz | ||
**/target | ||
**/node_modules | ||
**/outputs | ||
|
||
# Noir.js | ||
tooling/noir_js/lib | ||
|
||
# Wasm build artifacts | ||
compiler/wasm/nodejs | ||
compiler/wasm/web | ||
tooling/noirc_abi_wasm/nodejs | ||
tooling/noirc_abi_wasm/web | ||
tooling/noir_js/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM rust:bullseye | ||
WORKDIR /usr/src/noir | ||
COPY . . | ||
RUN ./scripts/bootstrap_native.sh | ||
|
||
# When running the container, mount the users home directory to same location. | ||
FROM ubuntu:focal | ||
# Install Tini as nargo doesn't handle signals properly. | ||
# Install git as nargo needs it to clone. | ||
RUN apt-get update && apt-get install -y git tini && rm -rf /var/lib/apt/lists/* && apt-get clean | ||
COPY --from=0 /usr/src/noir/target/release/nargo /usr/src/noir/target/release/nargo | ||
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/src/noir/target/release/nargo"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM rust:alpine3.17 | ||
RUN apk update \ | ||
&& apk upgrade \ | ||
&& apk add --no-cache \ | ||
build-base \ | ||
pkgconfig \ | ||
openssl-dev \ | ||
npm \ | ||
yarn \ | ||
bash \ | ||
jq \ | ||
git \ | ||
curl | ||
|
||
WORKDIR /usr/src/noir | ||
COPY . . | ||
RUN ./scripts/bootstrap_packages.sh | ||
|
||
FROM scratch | ||
COPY --from=0 /usr/src/noir/packages /usr/src/noir/packages | ||
# For some unknown reason, on alpine only, we need this to exist. | ||
COPY --from=0 /usr/src/noir/node_modules/@noir-lang /usr/src/noir/node_modules/@noir-lang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.