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
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| config | VSG configuration file. Defaults to the //vsg:config label_flag. | Label | optional | "@rules_vsg//vsg:config" |
| extra_configs | Additional VSG configuration files to merge on top of config (left-to-right). | List of labels | optional | [] |
| target | The vhdl_library (or anything providing VhdlInfo) whose sources to lint. | Label | required |