Pkl Rules
Pkl is an embeddable configuration language with rich support for data templating and
validation. It can be used from the command line, integrated in a build pipeline, or embedded in a
program. Pkl scales from small to large, simple to complex, ad-hoc to repetitive configuration
tasks.
For further information about Pkl, check out the official Pkl documentation.
Quick Start
Setup
To use rules_pkl
, enable bzlmod
within your project, and then add the following to your MODULE.bazel
:
# Please check the releases page on GitHub for the latest released version
bazel_dep(name = "rules_pkl", version = "0.2.0")
Examples
See the examples/
directory for complete examples of how to use rules_pkl
.
Ruleset Docs
For further information on the rules provided, check out the rules_pkl
documentation.
What's Changed
- Add Pkl 0.27.0 and make it the default version by @KushalP in #25
- Extract how we produce cache directories and inputs to a helper by @KushalP in #6
- Change
outs
fromstring_list
tooutput_list
by @KushalP in #10 - Stop using
org.pkl-lang:pkl-cli-java
, useorg.pkl-lang:pkl-tools
instead by @KushalP in #14 - Update
mnemonic
in use forpkl_eval
toPklEval
by @KushalP in #20 - feat: add pkl_package rule by @francine-blanc in #16
- Fix empty output by @srueg in #22
- Use
pkl-tools
instead ofpkl-doc
to driveorg.pkl.doc.Main
by @KushalP in #27 - Make the pkl toolchain type public so people can declare their own toolchains by @shs96c in #28
- Add Pkl
codegen
related macros by @shs96c in #30 - Fixes to get
rules_pkl
to pass for larger projects by @shs96c in #31
New Contributors
- @shs96c made their first contribution in #3
- @KushalP made their first contribution in #5
- @sitaktif made their first contribution in #13
- @francine-blanc made their first contribution in #16
- @srueg made their first contribution in #22
- @stevebarrau made their first contribution in #29
Full Changelog: v0.1.0...v0.2.0