From f6b35d12a4328acc7a0f85c7e383251c2823143b Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Fri, 31 Jul 2020 15:05:30 -0400 Subject: Move tool installation into scripts. Now that it's done in two (well, three, if you count the README) places, it's best if its done consistently. --- tools/update-nightly | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 tools/update-nightly (limited to 'tools/update-nightly') diff --git a/tools/update-nightly b/tools/update-nightly new file mode 100755 index 0000000..7567110 --- /dev/null +++ b/tools/update-nightly @@ -0,0 +1,8 @@ +#!/bin/bash -ex + +# tools/update-nightly +# +# Install today's nightly Rust release. + +date "+nightly-%Y-%m-%d" > rust-toolchain +rustup install --profile minimal "$(< rust-toolchain)" -- cgit v1.2.3