summaryrefslogtreecommitdiffhomepage
path: root/scripts/setup-rust-post-checkout
diff options
context:
space:
mode:
authorDavid Göransson <david.goransson@mullvad.net>2025-04-30 15:35:02 +0200
committerDavid Göransson <david.goransson@mullvad.net>2025-04-30 15:35:02 +0200
commit0325fc1023f6b5d6d453ebfddd24367a7f3b1a24 (patch)
treebe50499db7ae4378913febac947b3cef257e94ac /scripts/setup-rust-post-checkout
parent796084ce868f7d9a5d5e71b7d8ad92ac9c689f8b (diff)
parentcef81b6d2c23130509bc472e2b2f228680e9c2cd (diff)
downloadmullvadvpn-0325fc1023f6b5d6d453ebfddd24367a7f3b1a24.tar.xz
mullvadvpn-0325fc1023f6b5d6d453ebfddd24367a7f3b1a24.zip
Merge branch 'support-macos-and-linux-in-scriptssetup-rust-droid-1962'
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