Use a more portable way to declare functions.

Ref:
https://stackoverflow.com/questions/4654700/what-are-the-parentheses-used-for-in-a-bash-shell-script-function-definition-lik.

Change-Id: I50762f2d75a9bd0f12dd91e68f49301ee335de3d
1 file changed
tree: 1d4f2880c9991605670e107a2da6325993f57b32
  1. configs/
  2. examples/
  3. rules/
  4. .gitignore
  5. AUTHORS
  6. CONTRIBUTING.md
  7. CONTRIBUTORS
  8. LICENSE
  9. README.md
  10. WORKSPACE
README.md

bazel-toolchains

https://github.com/bazelbuild/bazel-toolchains is a repository where Google hosts Bazel toolchain configs. These configs are required to configure Bazel to issue commands that will execute inside a Docker container via a remote execution environment.

These toolchain configs include:

  • C/C++ CROSSTOOL file,
  • BUILD file with toolchain rules, and
  • wrapper scripts.

This repository also hosts the skylark rule used to generate toolchain configs.