-
-
Notifications
You must be signed in to change notification settings - Fork 666
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
go/tools/bazel: refactor runfiles functionality #2076
Conversation
* Refactored Runfile, FindBinary, and other functions. Everything now calls a single initialization function through sync.Once. * Added ListRunfiles. This will be used to re-create trees of runfiles, which will be needed for the new version of bazel_test. * Moved and rewrote tests in tests/core/runfiles. Fixes bazel-contrib#2031 Fixes bazel-contrib#1728
* Refactored Runfile, FindBinary, and other functions. Everything now calls a single initialization function through sync.Once. * Added ListRunfiles. This will be used to re-create trees of runfiles, which will be needed for the new version of bazel_test. * Moved and rewrote tests in tests/core/runfiles. Fixes #2031 Fixes #1728
* Refactored Runfile, FindBinary, and other functions. Everything now calls a single initialization function through sync.Once. * Added ListRunfiles. This will be used to re-create trees of runfiles, which will be needed for the new version of bazel_test. * Moved and rewrote tests in tests/core/runfiles. Fixes #2031 Fixes #1728
* Refactored Runfile, FindBinary, and other functions. Everything now calls a single initialization function through sync.Once. * Added ListRunfiles. This will be used to re-create trees of runfiles, which will be needed for the new version of bazel_test. * Moved and rewrote tests in tests/core/runfiles. Fixes #2031 Fixes #1728
hey there, I think this change broke rules_typescript |
Are you able to switch to not using the workspace name? I'm sorry for the break though. |
Is it really the right interface to accept a path with no workspace name? If I have a file |
It depends on the situation, but no,
If you can pass the location directly through a build file with something |
I'm not ready to figure out that refactoring right now so I'll just patch out this commit from our rules_go http_archive fetch. One day the merge conflict will bring someone back to this thread. Maybe me! :) |
calls a single initialization function through sync.Once.
runfiles, which will be needed for the new version of bazel_test.
Fixes #2031
Fixes #1728