summaryrefslogtreecommitdiffhomepage
path: root/scripts/setup-rust-post-checkout
diff options
context:
space:
mode:
authorKalle Lindström <karl.lindstrom@mullvad.net>2025-04-29 10:56:54 +0200
committerKalle Lindström <karl.lindstrom@mullvad.net>2025-04-30 15:12:05 +0200
commitcef81b6d2c23130509bc472e2b2f228680e9c2cd (patch)
treebe50499db7ae4378913febac947b3cef257e94ac /scripts/setup-rust-post-checkout
parent796084ce868f7d9a5d5e71b7d8ad92ac9c689f8b (diff)
downloadmullvadvpn-cef81b6d2c23130509bc472e2b2f228680e9c2cd.tar.xz
mullvadvpn-cef81b6d2c23130509bc472e2b2f228680e9c2cd.zip
Support windows, linux and macos in setup-rust
Diffstat (limited to 'scripts/setup-rust-post-checkout')
-rwxr-xr-xscripts/setup-rust-post-checkout5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/setup-rust-post-checkout b/scripts/setup-rust-post-checkout
index ef9275f6eb..ce3e5f1d94 100755
--- a/scripts/setup-rust-post-checkout
+++ b/scripts/setup-rust-post-checkout
@@ -5,7 +5,6 @@
set -u
-# Set to "android", "desktop", or "ios".
MULLVAD_SETUP_PLATFORM="${MULLVAD_SETUP_PLATFORM:-}"
SETUP_RUST_SCRIPT="scripts/setup-rust"
@@ -15,8 +14,8 @@ if [[ ! -f "$SETUP_RUST_SCRIPT" ]]; then
fi
if [[ -z ${MULLVAD_SETUP_PLATFORM+x} ]]; then
- echo "MULLVAD_SETUP_PLATFORM is not set, must be set to " >&2
- echo "\`android\`, \`desktop\` or \`ios\`" >&2
+ echo "MULLVAD_SETUP_PLATFORM is not set, must be set to one of the following: " >&2
+ echo "\`android\`, \`ios\`, \`windows\`, \`linux\`, \`macos\`" >&2
exit 1
fi