Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit 95b7049

Browse files
Merge #1707
1707: Allow Makefile to be used offline r=mergify[bot] a=thomaseizinger Co-authored-by: Thomas Eizinger <[email protected]>
2 parents 35c75e1 + f28db23 commit 95b7049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ init_git_hooks: $(GIT_HOOKS)
1515
git config core.hooksPath $(GIT_HOOKS_PATH)
1616

1717
install_rust:
18-
$(RUSTUP) install $(TOOLCHAIN)
18+
$(RUSTUP) toolchain list | grep -q $(TOOLCHAIN) || $(RUSTUP) install $(TOOLCHAIN)
1919

2020
install_rust_nightly:
21-
$(RUSTUP) install $(NIGHTLY_TOOLCHAIN)
21+
$(RUSTUP) toolchain list | grep -q $(NIGHTLY_TOOLCHAIN) || $(RUSTUP) install $(NIGHTLY_TOOLCHAIN)
2222

2323
## Dev environment
2424

0 commit comments

Comments
 (0)