devutils_add()

def devutils_add(name, version, coreutils_functions, bat_paging, deps, visibility) -> dict

Adds devutils to the workspace.

This contains a full suite of developer tools for working on the command line.

Hardlinks coreutils functions to the coreutils multifunction binary and sets environment variables for bat and rm-improved.

Args

  • name: string: name of the rule to checkout devutils
  • version: string: The version of the devutils release (e.g. “devutils-v0.1.2”)
  • coreutils_functions: list: The list of coreutils functions to install (default is COREUTILS_DEFAULT_FUNCTIONS)
  • bat_paging: string: Bat paging mode: never|always|auto.
  • deps: list: The list of dependencies to add to this rule
  • visibility: Rule visibility. See visibility.star for more info.

Returns

The rules added by this function (see rules_new())