-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Minimum required structure to compile? #8195
Comments
Your test file should be in a separate directory named
inside a new empty directory. The generated files should demonstrate the expected structure of a basic package. @hamishknight Could you transfer this please? |
I think I'm getting close to it with https://github.com/jsumners/swift-experiments/tree/ebeb073deddda038183975caeea9c586eae1d633/json, but now I get an error about the |
Managed to trial and error into a working setup -- https://github.com/jsumners/swift-experiments/tree/57c28883c76aeed46151163c2d7dd68ffd461724/json It would be very helpful if this were documented in a single place. |
@AnthonyLatsis is correct It sounds like you've got something working now, so I'll close this issue out. If you have specific improvements or suggestions please feel free to open a new issue. |
Yeah, |
I think what ended up making things work is |
Yes, basically, |
Thank you. |
What is the minimum required structure to successfully issue
swift test
? If I have the following setup, when I issue that command I get: "error: 'json': target 'JsonExperimentTests' has overlapping sources:"./Package.swift
:./Sources/company.swift
:./Sources/company_test.swift
:The text was updated successfully, but these errors were encountered: