You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bazel-...@googlegroups.com
Hi,
I'm writing a skylark rule to allow me to generate deb package using bazel.
Like stamping when linking cc_binary, I would like to encode some
build information into the debian package, is there any API/document
talking about what kind information can be presented in the build info
and how to access them within skylark rules?
Thanks!
Han-Wen Nienhuys
unread,
May 26, 2015, 8:01:20 AM5/26/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ming Zhao, Lukács T. Berki, bazel-...@googlegroups.com
Unfortunately, there is no documentation. Lukacs teased it apart from
the original google code, so he might know better.
During the build, it's theoretically written into stable-status.txt and volatile-status.txt (the latter contains data that is usually different in every build, e.g. the current time, currently empty in Bazel), but I don't think it's available from Skylark at the moment. I think (paging Laurent!) it could be pretty easily made available, though.
Google Germany GmbH | Dienerstrasse 12 | 80331 München | Germany | Geschäftsführer: Graham Law, Christine Elizabeth Flores | Registergericht und -nummer: Hamburg, HRB 86891