You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that Commandant will not successfully build in the release configuration on Linux. This looks to be due to Quick being built and referencing the non-existent (in release) XCTest module. This does not happen on macOS, likely due to the conditional inclusion of Quick in Package.swift. I believe there are some workarounds for Test-only dependencies using SPM, but I am curious as to whether or not Quick is needed on Linux at all if it is not being included on macOS.
Steps to reproduce:
Create a new trivial package (e.g. swift-package init --type executable)
Add Commandant to Package.swift
Build in release configuration using swift build -c release
Expected Results
Package builds without errors.
Actual Results
Package fails to build with linker errors related to Quick referencing XCTest.
The text was updated successfully, but these errors were encountered:
It appears that
Commandant
will not successfully build in the release configuration on Linux. This looks to be due toQuick
being built and referencing the non-existent (in release)XCTest
module. This does not happen on macOS, likely due to the conditional inclusion ofQuick
inPackage.swift
. I believe there are some workarounds for Test-only dependencies using SPM, but I am curious as to whether or notQuick
is needed on Linux at all if it is not being included on macOS.Steps to reproduce:
swift-package init --type executable
)Commandant
toPackage.swift
swift build -c release
Expected Results
Package builds without errors.
Actual Results
Package fails to build with linker errors related to
Quick
referencingXCTest
.The text was updated successfully, but these errors were encountered: