Home

Awesome

Nickel rules for Bazel

These are build rules for generating configuration files using Nickel during a Bazel build.

Build Rules

nickel_export

nickel_export(name, src, deps=[], format="json", out)

Evaluate a Nickel file and export the result.

AttributeDescription
nameUnique name for this rule (required)
srcNickel file to evaluate (required)
depsList of other Nickel files required for evaluation
formatExport format, must be one of "json", "yaml", "toml", "raw"
outOutput file name (required)