Install rustfmt and cargo-clippy explicitly in dev env

This commit is contained in:
Kitaiti Makoto 2021-02-12 14:34:32 +09:00
parent 6fcece3bc0
commit 347bc653d8

View file

@ -19,6 +19,7 @@ RUN chmod a+x ./wasm-deps.sh && sleep 1 && ./wasm-deps.sh
WORKDIR /app WORKDIR /app
COPY Cargo.toml Cargo.lock rust-toolchain ./ COPY Cargo.toml Cargo.lock rust-toolchain ./
RUN rustup component add rustfmt clippy
RUN cargo install diesel_cli --no-default-features --features postgres --version '=1.3.0' RUN cargo install diesel_cli --no-default-features --features postgres --version '=1.3.0'
RUN cargo install wasm-pack RUN cargo install wasm-pack