Skip to content

Commit

Permalink
fix: Install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jubnzv committed Jan 15, 2024
1 parent 6c4be8d commit 9fb5222
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ Modern releases of gcc and clang, as well as Visual Studio 2019+ should work.

- Step 2: `cargo install --force --locked cargo-contract`.

- Step 3: Install `dylint` for linting.
- Step 3: Install `dylint` libraries for linting.

- (MacOS) `brew install openssl`
- `cargo install cargo-dylint dylint-link`.
- `cargo install cargo-dylint dylint-link ink_linting_mandatory`.

- Step 4: (**Optional**) Install [Docker Engine](https://docs.docker.com/engine/install)
to be able to produce verifiable builds.
Expand Down Expand Up @@ -163,7 +163,7 @@ Generate schema and print it to STDOUT.

##### `cargo contract verify-schema`

Verify a metadata file or a contract bundle containing metadata against the schema file.
Verify a metadata file or a contract bundle containing metadata against the schema file.

##### `cargo contract storage`

Expand Down
4 changes: 2 additions & 2 deletions build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ RUN apt-get -y update && apt-get -y install gcc=${GCC_VERSION} g++=${G_VERSION}
fi \
&& echo "Executing ${COMMAND}" \
&& eval "${COMMAND}" \
&& echo "Installing `cargo-dylint` and `dylint-link`" \
&& cargo install cargo-dylint dylint-link \
&& echo "Installing linting dependencies" \
&& cargo install cargo-dylint dylint-link ink_linting_mandatory ink_linting \
# Cleanup after `cargo install`
&& rm -rf ${CARGO_HOME}/"registry" ${CARGO_HOME}/"git" /root/.cache/sccache \
# apt clean up
Expand Down

0 comments on commit 9fb5222

Please sign in to comment.