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

Remove unneeded target dependencies from HelloWorldVaporServerTests #427

Conversation

simonjbeaumont
Copy link
Collaborator

Motivation

The HelloWorld example had a test target that had the same target dependencies as the source target. These weren't necessary and, if these are going to be examples, they should be cleaned up to be as minimal as possible.

Modifications

Remove unneeded dependencies from HelloWorldVaporServerTests target.

Result

Simpler Package.swift

(And, annoyingly formatted Package.swift, due to swift-format)

Test Plan

CI should still be fine.

@czechboy0
Copy link
Contributor

I was struggling to get this working without the extra dependencies, was getting a linker issue. Let's debug this together.

@simonjbeaumont
Copy link
Collaborator Author

I was struggling to get this working without the extra dependencies, was getting a linker issue. Let's debug this together.

Sure. Odd: I see the CI failed too. But locally, this builds fine, from clean.

@czechboy0
Copy link
Contributor

Superseded by #487.

@czechboy0 czechboy0 closed this Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants