bazel-skylib/rules
László Csomor 1b28145983
maprule: use ctx.resolve_tools (#117)
In this PR:

- In the _resolve_locations function: use the
  Bash-less ctx.resolve_tools function to resolve
  the runfiles manifests and inputs of tools,
  instead of using ctx.resolve_command for
  the same purpose.

- In the _custom_envmap function: no longer
  resolve $(location) references when
  creating the envvars from custom_env, because
  those references were already resolved in
  _resolve_locations.

The ctx.resolve_tools() method was added in this
PR: https://github.com/bazelbuild/bazel/pull/7139
See design doc there.
2019-03-04 11:04:01 +01:00
..
BUILD maprule: use ctx.resolve_tools (#117) 2019-03-04 11:04:01 +01:00
analysis_test.bzl fix a number of warnings found by Starlark analyzer (#114) 2019-02-22 17:44:48 -05:00
build_test.bzl add documentation pages for rules/ and lib/ (#119) 2019-02-28 17:43:57 -05:00
empty_test.sh Add a build_test rule. (#97) 2019-01-25 14:34:15 -05:00
maprule.bzl maprule: an improved version of genrule() (#86) 2019-01-08 09:04:53 +01:00
maprule_private.bzl maprule: use ctx.resolve_tools (#117) 2019-03-04 11:04:01 +01:00
maprule_testing.bzl maprule: an improved version of genrule() (#86) 2019-01-08 09:04:53 +01:00
maprule_util.bzl maprule: use ctx.resolve_tools (#117) 2019-03-04 11:04:01 +01:00