Fix up installation of cargo-make by specifying the version required.

This commit is contained in:
Dorian 2019-01-04 09:13:04 -05:00
parent 35bfea451c
commit 05b73512b9
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ RUN cd /app/rookeries && npm install
# Cache the Rust dependencies -> http://whitfin.io/speeding-up-rust-docker-builds/
WORKDIR /app/rookeries/
RUN rustup component add rustfmt-preview && \
cargo install cargo-make && \
cargo install cargo-make --version 0.13.0 && \
cargo install diesel_cli --no-default-features --features "postgres"
RUN USER=root cargo init --bin
COPY ["Cargo.toml", "Cargo.lock", "/app/rookeries/"]

View File

@ -13,7 +13,7 @@
docker-compose (<1.8.0).
1. [Install docker-compose](https://docs.docker.com/compose/install/)
1. Install [cargo-make](https://sagiegurari.github.io/cargo-make)
1. Install [cargo-make](https://sagiegurari.github.io/cargo-make) version 0.13.0
1. Install [diesel_cli](https://github.com/diesel-rs/diesel/tree/master/diesel_cli)
1. Install the Postgres headers > 10.5: e.g. `sudo apt install libpq-dev` on Ubuntu 18.04
1. Install diesel_cli: `cargo install diesel_cli --no-default-features --features postgres`

View File

@ -40,7 +40,7 @@ development guide below.
docker-compose (<1.8.0).
1. [Install docker-compose](https://docs.docker.com/compose/install/)
1. Install [cargo-make](https://sagiegurari.github.io/cargo-make)
1. Install [cargo-make](https://sagiegurari.github.io/cargo-make) version 0.13.0
1. Install [diesel_cli](https://github.com/diesel-rs/diesel/tree/master/diesel_cli)
1. Install the Postgres headers > 10.5: e.g. `sudo apt install libpq-dev` on Ubuntu 18.04
1. Install diesel_cli: `cargo install diesel_cli --no-default-features --features postgres`