aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java
Commit message (Collapse)AuthorAge
* ctx.new_file(Artifact, String) now replaces the basename of the base ↵Gravatar Florian Weikert2015-08-24
| | | | | | | artifact with the given name instead of appending a suffix -- MOS_MIGRATED_REVID=101348273
* Fix output of query --output=buildGravatar Laurent Le Brun2015-08-21
| | | | | | | Implicit attributes start with '_' to make the output parsable. -- MOS_MIGRATED_REVID=101151243
* Split Skylark Library into multiple pages, one per module. Add collapsibleGravatar David Chen2015-08-18
| | | | | | | | submenus to sidebar, and expand and highlight the link for the current page. Collapse sidebar on mobile and expose button for toggling sidebar. -- MOS_MIGRATED_REVID=100836792
* Skylark: In addition to using ctx.configuration.fragment(CONF), the build ↵Gravatar Florian Weikert2015-08-06
| | | | | | | configuration can now be accessed via ctx.fragments.CONF where CONF is in {cpp, jvm, java}. -- MOS_MIGRATED_REVID=100016978
* Remove the Skylark data configuration accessor and the only repositoryGravatar Greg Estren2015-08-05
| | | | | | | | | | | use of that accessor. Data configuration access here complicates the first phase of dynamic configuration support. And the current use doesn't specifically need this configuration. We can always add support back in if there's demand. -- MOS_MIGRATED_REVID=99938987
* Check that most output artifacts are under a directory determined by the ↵Gravatar Lukacs Berki2015-07-29
| | | | | | | | | repository and package of the rule being analyzed. Currently this directory is PACKAGE for rules in the main repository and external/REPOSITORY_NAME/PACKAGE for rules in other repositories. This is a plan to fix #293. Ideally, we would simply make it impossible to create artifacts not under that location, but in practice, we cannot do that because some rules do want to do this, mostly those that are already problematic due to shared actions. So the battle plan is to eliminate as many calls to AnalysisEnvironment.getDerivedArtifact() as I possibly can and audit the rest. -- MOS_MIGRATED_REVID=99351151
* Skylark documentation fixesGravatar Laurent Le Brun2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99283744
* Introduced ctx.new_file_suffix(Artifact, String) as an alias for ↵Gravatar Florian Weikert2015-07-29
| | | | | | | ctx.new_file(Artifact, String) -- MOS_MIGRATED_REVID=99259144
* Skylark - delete deprecated ctx.target(s)Gravatar Laurent Le Brun2015-06-02
| | | | | -- MOS_MIGRATED_REVID=95001990
* Documentation fixes.Gravatar Laurent Le Brun2015-05-22
| | | | | -- MOS_MIGRATED_REVID=94274751
* Skylark: Remove deprecated ctx.target(s) attribute.Gravatar Laurent Le Brun2015-05-21
| | | | | | | Use ctx.attr instead. -- MOS_MIGRATED_REVID=94080483
* Skylark documentation: Add missing linksGravatar Laurent Le Brun2015-04-20
| | | | | -- MOS_MIGRATED_REVID=91578316
* Skylark builtin function cleanupsGravatar Francois-Rene Rideau2015-04-13
| | | | | | | | | | Clean up related to Skylark builtin functions. Replace "hidden" field of some annotations with a "documented" field (with reversed semantics). -- MOS_MIGRATED_REVID=90827020
* Skylark: The new_file functions don't need a root argument anymore.Gravatar Laurent Le Brun2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90618694
* Skylark: Mark ctx.target(s) as deprecated (use ctx.attr instead).Gravatar Laurent Le Brun2015-04-01
| | | | | -- MOS_MIGRATED_REVID=90061261
* Skylark: Make ctx.attr.<attr_name> return Targets instead of Labels.Gravatar Laurent Le Brun2015-04-01
| | | | | | | | | Careful, this is a breaking change. To get the Label value as before, use ctx.attr.<labelattr>.label. The goal is to remove ctx.targets and simplify access to label attributes. -- MOS_MIGRATED_REVID=90056829
* Skylark: native module is updated.Gravatar Googler2015-03-25
| | | | | -- MOS_MIGRATED_REVID=89483786
* Skylark: document ctx.expand_make_variables.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89285345
* Skylark: documentation for targets is added and improved.Gravatar Googler2015-03-20
| | | | | -- MOS_MIGRATED_REVID=89032399
* Skylark: Make ctx.var a dictionary.Gravatar Laurent Le Brun2015-03-13
| | | | | | | | ctx.var(x) is kept for compatibility and should be removed after next release. -- MOS_MIGRATED_REVID=88438195
* RELNOTES: Expose getWorkspaceName as ctx.workspace_name in Skylark.Gravatar Han-Wen Nienhuys2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88137421
* Some cleanup changes.Gravatar Ulf Adams2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87821306
* Lots of comments, clarification and correction in Skylark docs.Gravatar Laszlo Csomor2015-02-16
| | | | | -- MOS_MIGRATED_REVID=86436572
* Update from Google.Gravatar Han-Wen Nienhuys2015-02-25
-- MOE_MIGRATED_REVID=85702957