-
Notifications
You must be signed in to change notification settings - Fork 166
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
Allow specifying debian package architecture via a file #391
Comments
As an example, here is a simple rule I'd like to use to provide the GOARCH to pkg_deb.
|
You could also write a rule to generate an architecture_file based on
|
Let's see if I understand.
Sounds like your PR is the most reasonable path then. Thanks. |
Closed by #390 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pkg_deb allows specifying the several arguments via the contents of a file, e.g. version_file. However, architecture may only be specified by a static string.
In my particular case, the architecture of the binary generated is controlled by the rules_go toolchain. I can generate a file containing the contents of GOARCH which i would then like to pass to the pkg_deb as architecture_file.
The text was updated successfully, but these errors were encountered: