Skip to content

Commit

Permalink
Changelog, version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
peterebden committed Sep 28, 2016
1 parent fed7d8c commit 8ce78a0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 6.0.3
-------------

* Finally fixed cc_embed_binary for OSX


Version 6.0.2
-------------

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.2
6.0.3
13 changes: 9 additions & 4 deletions docs/lexicon.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,15 @@ <h3><a name="get_labels">get_labels</a></h3>

<p>Gets the unique set of labels for a rule and all its transitive dependencies.</p>

<p>The only time it's safe to call this is in the pre-build function of the target you're
calling it for. Any time before that (especially when the package is first parsed)
does not guarantee to have the full set of labels available and will cause the build
to terminate.</p>
<p>Two formats are accepted for target: the first is a string containing just the target name,
which is resolved in the current package. This facilitates calling them from a pre-build
function, which is in fact the only time it's safe to call this way.<br/>
The other is a full build target, which should be a transitive dependency of the target
whose pre/post build function you're in. If the target isn't built when you ask for the
labels the build will terminate.<br/>
In either case this is only safe to call from a pre / post-build function and should
never be called at initial parse time, because at that point you generally don't have
the full set of labels available yet.</p>

<p>Uses for this are normally fairly language-specific. The clearest example is maybe the
builtin Python rules, where <code>python_binary</code> and <code>python_test</code> use
Expand Down

0 comments on commit 8ce78a0

Please sign in to comment.