Skip to content

Commit ed11d0e

Browse files
authored
Auto-detect the macios-adr repo to enable any private build logic. (#22240)
1 parent 253887e commit ed11d0e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

create-make-config.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@ if which ccache > /dev/null 2>&1; then
3333
echo "Found ccache on the system, enabling it"
3434
fi
3535

36+
# Detect ADR
37+
if test -d ../macios-adr; then
38+
printf "ENABLE_XAMARIN=1\n" >> "$OUTPUT_FILE"
39+
echo "Detected the macios-adr repository, automatically enabled the Xamarin build"
40+
fi
41+
3642
mv "$OUTPUT_FILE" "$OUTPUT"

0 commit comments

Comments
 (0)