Skip to content

Commit 4d534f7

Browse files
committed
improve debugging output
1 parent f193fb8 commit 4d534f7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

xcode/LDK/build-libldk.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ BUILD_LOG_PATH="${BASEDIR}/build_libldk.log"
2020
# echo -n "" > $BUILD_LOG_PATH
2121
touch $BUILD_LOG_PATH
2222

23-
echo "\n\nPlatform name: ${PLATFORM_NAME}" >> $BUILD_LOG_PATH
23+
# create two newlines at the beginning
24+
echo "" >> $BUILD_LOG_PATH
25+
26+
echo "Platform name: ${PLATFORM_NAME}" >> $BUILD_LOG_PATH
2427
echo "Configuration: ${CONFIGURATION}" >> $BUILD_LOG_PATH
2528
echo "LLVM Target Triple Suffix: ${LLVM_TARGET_TRIPLE_SUFFIX}" >> $BUILD_LOG_PATH
2629

@@ -93,4 +96,7 @@ if [[ ${ACTION:-build} = "build" || $ACTION = "install" ]]; then
9396

9497
mkdir -p "${BUILT_PRODUCTS_DIR}"
9598
xcrun --sdk $PLATFORM_NAME lipo -create "${EXECUTABLES[@]}" -output "${PROJECT_DIR}/${TARGET_NAME}.a"
99+
100+
# print a newline at the end
101+
echo "" >> $BUILD_LOG_PATH
96102
fi

0 commit comments

Comments
 (0)