-
Notifications
You must be signed in to change notification settings - Fork 21
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
Some more FAQs possibly #135
Comments
|
With regard to putting the files in a different location, I created #136 to track the enhancement. This should be fairly straightforward. On the topic of having multiple
As a rule-of-thumb, you want one set of external dependencies for your Bazel workspace. Is there anything that would prevent you from having a single |
Thanks for all the info and the issue for tracking that feature! I figured we'd run into dependency resolution issues if we use two packages and that's not really a use-case we need, was more concerned with putting the swift_bazel files somewhere outside the root since introducing a Package.swift in the root might be confusing to our engineers since we don't support SPM as a build tool (just for fetching deps) |
@luispadron Once #146 merges, you will be able to move the Swift dependency files to a sub-package. I updated the |
Thank you! Excited to get swift_bazel into our repo now |
This is sweet! Just tested it out on the CLI tool were building at Cash and was able to successfully use it to replace our dependency on swift-argument-parser (which rules_spm was having version conflict issues with previously).
Couple of immediate Qs:
Package.swift
and other files in the root of the repo? Possibly in a per-package way?App/Package.swift
andTool/Package.swift
for example.swift_deps.bzl
correctly in a different path outside the root but it looks like theswift_deps_index.json
file is always output to root directory.WORKSPACE
assume theswift_deps.bzl
file is at//:
The text was updated successfully, but these errors were encountered: