From 9fb52220cc9bb73cd2973088686436612eaa3136 Mon Sep 17 00:00:00 2001 From: Georgiy Komarov Date: Mon, 15 Jan 2024 14:25:17 -0300 Subject: [PATCH] fix: Install dependencies --- README.md | 6 +++--- build-image/Dockerfile | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a192d2259..6a2a2dddb 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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` diff --git a/build-image/Dockerfile b/build-image/Dockerfile index 06a8bbc48..d77be7a0e 100644 --- a/build-image/Dockerfile +++ b/build-image/Dockerfile @@ -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