From cb08126abdef68f1a0583b5fda8c9431174ac8fe Mon Sep 17 00:00:00 2001 From: haskal Date: Mon, 2 Mar 2020 20:16:58 +0000 Subject: [PATCH] Add rustup to makefile --- .gitignore | 3 ++- Makefile | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1de5659..3050996 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -target \ No newline at end of file +target +.rustup-installed diff --git a/Makefile b/Makefile index 88e9f1d..c7e715c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ +.PHONY: all clean test c t -all: +all: .rustup-installed cargo build clean: @@ -12,4 +13,7 @@ c: clean t: test -.PHONY: all clean test c t +.rustup-installed: + rustup install nightly + rustup install stable + touch $@