From 4d9ec64eaedbd66e9468ebaa5b27233860e97185 Mon Sep 17 00:00:00 2001 From: Christian Legnitto Date: Tue, 18 Jun 2019 23:10:55 -0400 Subject: [PATCH] Make `.cargo/bin` if it does not exist (#375) --- _build/cargo-make.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/_build/cargo-make.sh b/_build/cargo-make.sh index 8fe64233..a93d19dc 100755 --- a/_build/cargo-make.sh +++ b/_build/cargo-make.sh @@ -14,5 +14,6 @@ fi curl https://github.com/sagiegurari/cargo-make/releases/download/${1}/cargo-make-v${1}-${2}.zip -sSfL -o /tmp/cargo-make.zip; unzip /tmp/cargo-make.zip; +mkdir -p "$HOME/.cargo/bin"; mv cargo-make-*/* $HOME/.cargo/bin; echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"