make test_install_SPM

This commit is contained in:
Gwendal Roué committed 2017-04-12 14:24:11 +02:00
1 parent 80c378df21
commit 5804c044d5
2 files changed
+15 -3

No files matched your search

+3 -2
View File
@@ -104,6 +104,7 @@ SQLiteCustom/GRDBCustomSQLite-USER.xcconfig
Tests/CocoaPods/GRDBiOS/Podfile.lock
Tests/CocoaPods/GRDBiOS/Pods
# SPM build directory
# SPM
.build
Tests/SPM/Packages
Tests/SPM/Package.pins
+12 -1
View File
@@ -46,7 +46,7 @@ test_framework: test_framework_GRDB test_framework_GRDBCustom test_framework_GRD
test_framework_GRDB: test_framework_GRDBOSX test_framework_GRDBWatchOS test_framework_GRDBiOS
test_framework_GRDBCustom: test_framework_GRDBCustomSQLiteOSX test_framework_GRDBCustomSQLiteiOS
test_framework_GRDBCipher: test_framework_GRDBCipherOSX test_framework_GRDBCipheriOS
test_install: test_install_manual test_install_GRDBCipher test_CocoaPodsLint
test_install: test_install_manual test_install_GRDBCipher test_install_SPM test_CocoaPodsLint
test_framework_GRDBOSX:
$(XCODEBUILD) \
@@ -141,6 +141,17 @@ test_install_GRDBCipher: SQLCipher
-destination $(MAX_IOS_DESTINATION) \
clean build
test_install_SPM:
cd Tests/SPM && \
swift package reset && \
rm -rf Packages/GRDB && \
swift package edit GRDB --revision master && \
rm -rf Packages/GRDB && \
ln -s ../../.. Packages/GRDB && \
swift build && \
./.build/debug/SPM && \
rm -rf Packages/GRDB
test_CocoaPodsLint:
ifdef POD
$(POD) lib lint --allow-warnings