From 164b225625ae85df20f466dfff0df0f0f6cb598e Mon Sep 17 00:00:00 2001 From: Andrej Mihajlov <and@mullvad.net> Date: Wed, 20 Sep 2023 19:48:03 +0200 Subject: [PATCH] Fix wg-go script to make docs build --- ios/build-wireguard-go.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ios/build-wireguard-go.sh b/ios/build-wireguard-go.sh index 16f3dbdadeae..371d2da9e33c 100755 --- a/ios/build-wireguard-go.sh +++ b/ios/build-wireguard-go.sh @@ -12,6 +12,11 @@ # Passed by Xcode ACTION=$1 +# Do normal builds when building documentation. +if [ "$ACTION" == "docbuild" ]; then + ACTION="build" +fi + if [ "$SOURCE_PACKAGES_PATH" == "" ]; then # When archiving, Xcode sets the action to "install" if [ "$ACTION" == "install" ]; then