Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
FIX: cargo install --locked
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed Nov 22, 2023
1 parent 2c06867 commit 8693151
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ build: | protoc
cargo build --release

install:
cargo install --path fendermint/app
cargo install --locked --path fendermint/app

# Using --release for testing because wasm can otherwise be slow.
test: $(IPC_ACTORS_ABI) $(BUILTIN_ACTORS_BUNDLE) $(BUILTIN_ACTORS_DIR)
Expand Down
2 changes: 1 addition & 1 deletion docker/builder.ci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ RUN set -eux; \
amd64) ARCH='x86_64' ;; \
arm64) ARCH='aarch64' ;; \
esac; \
cargo install --root output --path fendermint/app --target ${ARCH}-unknown-linux-gnu
cargo install --locked --root output --path fendermint/app --target ${ARCH}-unknown-linux-gnu
2 changes: 1 addition & 1 deletion docker/builder.local.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ COPY . .
RUN --mount=type=cache,target=target \
--mount=type=cache,target=$RUSTUP_HOME,from=rust,source=$RUSTUP_HOME \
--mount=type=cache,target=$CARGO_HOME,from=rust,source=$CARGO_HOME \
cargo install --root output --path fendermint/app
cargo install --locked --root output --path fendermint/app
2 changes: 1 addition & 1 deletion docs/demos/milestone-1/fendermint-demo.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#0
cargo install --path fendermint/app
cargo install --locked --path fendermint/app

#1

Expand Down

0 comments on commit 8693151

Please sign in to comment.