Skip to content

Commit

Permalink
Merge pull request #2008 from oasislabs/matevz/feature/supress-cargo-…
Browse files Browse the repository at this point in the history
…install-error

Makefile: Suppress package already installed error for tools
  • Loading branch information
matevz authored Aug 16, 2019
2 parents 3b1128a + d4d6695 commit 5931711
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ all: tools runtimes rust go

tools:
@$(ECHO) "$(CYAN)*** Building Rust tools...$(OFF)"
@cargo install --quiet --path tools || true
@# Suppress "binary already exists" error by redirecting stderr and stdout to /dev/null.
@cargo install --path tools >/dev/null 2>&1 || true

runtimes:
@$(ECHO) "$(CYAN)*** Building runtimes...$(OFF)"
Expand Down

0 comments on commit 5931711

Please sign in to comment.