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

Feature Suggestion: Support to other build systems #49

Open
lucasmarcal-faire opened this issue Apr 4, 2024 · 1 comment
Open

Feature Suggestion: Support to other build systems #49

lucasmarcal-faire opened this issue Apr 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lucasmarcal-faire
Copy link

XCStrings-tool seems to be pretty promising. Would love to know how to integrate it with non-Apple environment build system like Bazel

@liamnichols
Copy link
Owner

Hi @lucasmarcal-faire, thanks for reaching out with the suggestion! That's a great idea and it's something that I haven't thought about much before, partially because I have never used Bazel 😄

Would love to know how to integrate it

I'd love to get this documented too if it's useful for you and others. Because I don't know much about Bazel, I don't really know where to begin but I assume that Bazel has some kind of way to run something similar to run scripts?

While I currently document only the build tool plugin, this repository does contain a standalone cli that can be invoked directly... Kind of like this:

$ xcstrings-tool generate path/to/localizable.xcstrings path/to/generated.swift

Once we figure out how it can be integrated, we could consider adding a Bazel example to xcstrings-tool-demo as well as adding some documentation probably.

@liamnichols liamnichols added the enhancement New feature or request label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants