-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
[FR]: How to automatically generate SRCS and BUILD_DEPS content? Is there a more detailed solution #1914
Comments
You will need to explore aspect-cli and gazelle to do build file generation, which is what I think you are asking |
|
That is not what I was referring to, that's an alternative solution though. I was referring to https://github.com/aspect-build/aspect-cli/tree/main/gazelle/js If you plan on using the Aspect solutions, probably best to reach out to the team and get help onboarding. Otherwise, you will be left to piece it together a bit. |
Thanks a lot. I looked at the source code of https://github.com/aspect-build/aspect-CLI/tree/main/gazelle/js, which may be impossible for me (both in terms of time cost and implementation difficulty), because I am a beginner, and I really can't. I plan to use sed of shell to replace the dependency with Build for the time being. |
What is the current behavior?
No response
Describe the feature
I want to migrate some projects on my computer to bazel, but I found that SRCS and BUILD_DEPS in BUILD correspond to dependencies in the package.json file. If I want to generate such content, since my project is relatively large and more than one project manually processing is indeed a big project, I may not understand it after reading your documentation. Yes, I did not find the command to automatically generate dependencies from package.json to the BUILD file. I hope you can get help. Thank you very much
The text was updated successfully, but these errors were encountered: