rules_license icon indicating copy to clipboard operation
rules_license copied to clipboard

Manifest example test doesn't work

Open mering opened this issue 1 year ago • 2 comments

Expected Behavior

All examples work.

Actual Behavior

$ bazel test //examples/manifest:main_test
ERROR: /workspaces/rules_license/examples/manifest/BUILD:25:15: in cmd attribute of genrule rule //examples/manifest:gen_main_manifest: label '//examples/manifest:main_manifest' in $(locations) expression expands to no files. Since this rule was created by the macro 'android_binary', the error might have been caused by the macro implementation
ERROR: /workspaces/rules_license/examples/manifest/BUILD:25:15: Analysis of target '//examples/manifest:gen_main_manifest' failed
ERROR: Analysis of target '//examples/manifest:main_test' failed; build aborted: 
INFO: Elapsed time: 0.154s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded, 6 targets configured)
ERROR: Couldn't start the build. Unable to run tests

Steps to Reproduce the Problem

  1. bazel test //examples/manifest:main_test

Specifications

  • Version:
  • Platform:

mering avatar Sep 11 '23 14:09 mering

All the examples need replacement

aiuto avatar Oct 17 '23 01:10 aiuto

Are there any plans for when it is planned to work on this? The examples are crucial for adopting rules_license.

mering avatar Oct 17 '23 09:10 mering