Closed luxe closed 2 years ago
@luxe Users need to invoke both of the following from their respective workspace:
load("@rules_oss_audit//oss_audit:repositories.bzl", "rules_oss_audit_dependencies")
rules_oss_audit_dependencies()
load("@rules_oss_audit//oss_audit:setup.bzl", "rules_oss_audit_setup")
rules_oss_audit_setup()
Can you try ^ first and see if that resolves the error on your side? Then update the READme accordingly, please?
that works. fixed!
@luxe, VMware has approved your signed contributor license agreement.
When I use the rules in a separate repo I get the following error:
Maybe I'm missing something because I thought transitive workspaces were evaluated and therefore the requirements.bzl should have already been generated. My workaround is to call
rules_oss_audit_setup()
in my own workspace. That resolves the problem? Should we tell users of this ruleset to do the same?