Skip to content

Commit aad16e4

Browse files
committed
chore(macOS): Creating build settings file on demand from template.
Signed-off-by: Iva Horn <[email protected]>
1 parent 4e3ee3e commit aad16e4

File tree

1 file changed

+5
-0
lines changed
  • shell_integration/MacOSX/NextcloudIntegration/NextcloudDev

1 file changed

+5
-0
lines changed

shell_integration/MacOSX/NextcloudIntegration/NextcloudDev/Craft.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ if [ -z "${CODE_SIGN_IDENTITY}" ]; then
2020
exit 1
2121
fi
2222

23+
if [ ! -f "$SOURCE_ROOT/NextcloudDev/Build.xcconfig" ]; then
24+
cp "$SOURCE_ROOT/NextcloudDev/Build.xcconfig.example" "$SOURCE_ROOT/NextcloudDev/Build.xcconfig"
25+
echo "Automatically created Build.xcconfig from template because it was not present yet."
26+
fi
27+
2328
DESKTOP_CLIENT_PROJECT_ROOT="$SOURCE_ROOT/../../.."
2429

2530
if [ -d "$DESKTOP_CLIENT_PROJECT_ROOT/admin/osx/mac-crafter" ]; then

0 commit comments

Comments
 (0)