mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
make test_install_SPM
This commit is contained in:
1 parent
80c378df21
commit
5804c044d5
2 files changed
+15
-3
No files matched your search
+3
-2
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user