24 lines
415 B
Markdown
24 lines
415 B
Markdown
|
|
# 43-haskell-tree-rollouts
|
||
|
|
|
||
|
|
This example shows rollout planning with `Data.Tree`.
|
||
|
|
|
||
|
|
It includes:
|
||
|
|
|
||
|
|
- one tree-shaped rollout plan with environments and services,
|
||
|
|
- functions that render the tree and enumerate root-to-leaf deployment paths, and
|
||
|
|
- a test suite run by `nix flake check`.
|
||
|
|
|
||
|
|
Useful commands:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
nix develop
|
||
|
|
cabal run
|
||
|
|
cabal test
|
||
|
|
|
||
|
|
nix build
|
||
|
|
./result/bin/mini-tree-rollouts
|
||
|
|
|
||
|
|
nix run
|
||
|
|
nix flake check
|
||
|
|
```
|