shfmt_add()

def shfmt_add(name, version, deps, visibility)

Add shfmt to your sysroot.

Args

  • name: string: The name of the rule.
  • version: string: shfmt version from github.com/mvdan/sh/packages
  • deps: list: deps for using chmod
  • visibility: Rule visibility. See visibility.star for more info.