1
1
mirror of https://github.com/tweag/nickel.git synced 2024-09-11 11:47:03 +03:00
nickel/examples/merge
Yann Hamdaoui 7938c0bb69
Add topiary to pre-commit-hooks (#1391)
* Add Nickel formatting to pre-commit-hooks/CI

* Run topiary on examples

* Topiary formatter on stdlib

* Add exclude list for Nickel formatting

* Reformat internals.ncl after rebase
2023-06-22 09:41:50 +00:00
..
main.ncl Add topiary to pre-commit-hooks (#1391) 2023-06-22 09:41:50 +00:00
README.md Pass on examples + code formatting (#1261) 2023-04-18 13:24:49 +00:00
security.ncl Add topiary to pre-commit-hooks (#1391) 2023-06-22 09:41:50 +00:00
server.ncl Add topiary to pre-commit-hooks (#1391) 2023-06-22 09:41:50 +00:00

Merge

This example shows how to merge separate modules into one configuration. The code to run lies in main.ncl. The default value firewall.enabled defined in security.ncl is overridden in the final configuration.

Run

nickel -f main.ncl export