Skip to content

Commit

Permalink
fix install for Rust 2018 edition applications
Browse files Browse the repository at this point in the history
warning: Using `cargo install` to install the binaries for the package in current working directory is no longer supported, use `cargo install --path .` instead.

Also see rust-lang/cargo#5327
  • Loading branch information
Andrii Radyk committed Dec 18, 2018
1 parent 91d56a5 commit f0aea27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update && \
COPY . /opt/tarpaulin/

RUN cd /opt/tarpaulin/ && \
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install && \
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install --path . && \
rm -rf /opt/tarpaulin/ && \
rm -rf /usr/local/cargo/registry/

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-nightly
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update && \
COPY . /opt/tarpaulin/

RUN cd /opt/tarpaulin/ && \
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install && \
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install --path . && \
rm -rf /opt/tarpaulin/ && \
rm -rf /usr/local/cargo/registry/

Expand Down

0 comments on commit f0aea27

Please sign in to comment.