Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package.swift file is needed for swift build and swift test #387

Open
1 task done
cclauss opened this issue Aug 19, 2024 · 2 comments
Open
1 task done

Package.swift file is needed for swift build and swift test #387

cclauss opened this issue Aug 19, 2024 · 2 comments
Labels
Suggestion An idea

Comments

@cclauss
Copy link

cclauss commented Aug 19, 2024

Suggestion type

The way Cork works

What is your idea about?

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

  • Adding suggestion idea is realistic
@cclauss cclauss added the Suggestion An idea label Aug 19, 2024
@buresdv
Copy link
Owner

buresdv commented Aug 19, 2024

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

@buresdv
Copy link
Owner

buresdv commented Sep 7, 2024

Hey, I don't want to rush you :) Have you had a chance to look at this more?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Suggestion An idea
Projects
None yet
Development

No branches or pull requests

2 participants