rules_license
rules_license copied to clipboard
Create py_binary target for add_licenses.py
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