summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2023-09-20 19:48:03 +0200
committerAndrej Mihajlov <and@mullvad.net>2023-09-20 19:52:54 +0200
commit164b225625ae85df20f466dfff0df0f0f6cb598e (patch)
tree1aee7af508ae997c11fa8851912e4fa3fef41b27
parent455de91934220f69145119a3f05ecc996ddbdb23 (diff)
downloadmullvadvpn-164b225625ae85df20f466dfff0df0f0f6cb598e.tar.xz
mullvadvpn-164b225625ae85df20f466dfff0df0f0f6cb598e.zip
Fix wg-go script to make docs build
-rwxr-xr-xios/build-wireguard-go.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/ios/build-wireguard-go.sh b/ios/build-wireguard-go.sh
index 16f3dbdade..371d2da9e3 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