rules_license icon indicating copy to clipboard operation
rules_license copied to clipboard

Create py_binary target for add_licenses.py

Open danielmachlab opened this issue 3 years ago • 0 comments

Currently, the add_licenses.py tool must be run with:

LC_ALL="en_US.UTF-8" admin/refresh_spdx/add_licenses.py

Instead, declare a py_binary target in admin/refresh_spdx/BUILD so the add_licenses.py tool can be run with:

bazel run //admin/refresh_spdx:add_licenses

See PR review comment: https://github.com/bazelbuild/rules_license/pull/17#discussion_r789010877

danielmachlab avatar Jan 21 '22 08:01 danielmachlab