`Package.swift` file is needed for `swift build` and `swift test`
Suggestion type
The way Cork works
What is your idea about?
- #378 runs
swift buildandswift testbut they currently fail looking for aPackage.swiftfile.
This project has numerous Package.swift files but none at the root of the project.
What is the best way to run swift build and swift test? Should we cd into each directory and run these commands or is there a way to create a project-wide Package.swift that allows the building and testing of all files?
Why should this be added?
Automated testing helps us find bugs in new code submissions before manual code review.
Keeping it real
- [X] Adding suggestion idea is realistic
This project has numerous Package.swift files but none at the root of the project.
Most of these regard Homebrew packages. The actual Package.swift is this one: https://github.com/buresdv/Cork/blob/main.swiftlint/Tuist/Package.swift
Keep in mind though that this Package.swift is managed by Tuist, so I'm not sure to what extent it is a "vanilla" Package.swift.
I know very little about either packages or the Swift CLI, so I'd keep the specifics to you
Hey, I don't want to rush you :) Have you had a chance to look at this more?
Closed due to inactivity