Skip to content

Commit

Permalink
Makefile: Suppress binary already installed error for tools
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Aug 16, 2019
1 parent 3b1128a commit d4d6695
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 d4d6695

Please sign in to comment.