Patches SPM integration.

This commit is contained in:
Krunoslav Zaher 2017-07-30 17:30:31 +02:00
parent 00c2a8911f
commit cfe8543fb1
No known key found for this signature in database
GPG Key ID: 74BC718B68EA3842

View File

@ -226,7 +226,7 @@ if [ "${VALIDATE_UNIX}" -eq 1 ]; then
elif [[ "${UNIX_NAME}" == "${LINUX}" ]]; then
cat Package.swift | sed "s/let buildTests = false/let buildTests = true/" > Package.tests.swift
mv Package.tests.swift Package.swift
swift build -c debug
swift build -c debug --disable-sandbox # until compiler is fixed
./.build/debug/AllTestz
else
unsupported_os
@ -279,8 +279,8 @@ fi
if [ "${TEST_SPM}" -eq 1 ]; then
rm -rf .build || true
swift build -c release
swift build -c debug
swift build -c release --disable-sandbox # until compiler is fixed
swift build -c debug --disable-sandbox # until compiler is fixed
else
printf "${RED}Skipping SPM tests ...${RESET}\n"
fi