vsg_fixer

Rules

vsg_fixer

load("@rules_vsg//vsg:vsg_fixer.bzl", "vsg_fixer")

vsg_fixer(name, config, extra_configs, target)

A bazel run-able rule that applies vsg --fix in place to the workspace sources of a vhdl_library.

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
configVSG configuration file. Defaults to the //vsg:config label_flag.Labeloptional"@rules_vsg//vsg:config"
extra_configsAdditional VSG configuration files to merge on top of config (left-to-right).List of labelsoptional[]
targetThe vhdl_library (or anything providing VhdlInfo) whose sources to lint.Labelrequired