vsg_test

Rules

vsg_test

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

vsg_test(name, config, extra_configs, target)

A rule for running vsg as a Bazel test (check mode; fails on violations).

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