summaryrefslogtreecommitdiff
path: root/lib/manifest.ml
diff options
context:
space:
mode:
authorยท๐‘‘๐‘ด๐‘•๐‘‘๐‘ฉ๐‘ค2025-12-10 13:00:27 +0000
committerยท๐‘‘๐‘ด๐‘•๐‘‘๐‘ฉ๐‘ค2025-12-10 13:00:27 +0000
commitacdb21f94d642417bef845041122a168ff64c4a5 (patch)
tree84804dd9b1a7746dce41c056cdc538e381d3f60c /lib/manifest.ml
parent6c275ab6cfcbcbdbf99dae089d390b8be0498fbf (diff)
downloadnixtaml-acdb21f94d642417bef845041122a168ff64c4a5.tar
nixtaml-acdb21f94d642417bef845041122a168ff64c4a5.tar.gz
nixtaml-acdb21f94d642417bef845041122a168ff64c4a5.tar.bz2
nixtaml-acdb21f94d642417bef845041122a168ff64c4a5.tar.lz
nixtaml-acdb21f94d642417bef845041122a168ff64c4a5.tar.xz
nixtaml-acdb21f94d642417bef845041122a168ff64c4a5.tar.zst
nixtaml-acdb21f94d642417bef845041122a168ff64c4a5.zip
add banners! โ›ง
Diffstat (limited to 'lib/manifest.ml')
-rw-r--r--lib/manifest.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/manifest.ml b/lib/manifest.ml
index 2583e74..b79ebb9 100644
--- a/lib/manifest.ml
+++ b/lib/manifest.ml
@@ -711,6 +711,13 @@ let write () : (unit, error) result =
Logs.app (fun m -> m "Writing manifest @@ %s โ€ฆ" filename);
let result =
Eio.Path.with_open_out ~create: (`Exclusive 0o644) filepath @@ fun flow ->
+ let banner = [
+ Cstruct.of_string "// โ”โ”“โ•ป+โ•ป โ•ฑโ”โ”ณโ”“โ”โ”“โ”โ”ณโ”“โ”โ”“โ•ป\n";
+ Cstruct.of_string "// โ”ƒโ”ƒโ”ƒโ”ƒโ”—โ”โ”“โ•นโ”ƒโ•นโ”ฃโ”ซโ”ƒโ”ƒโ”ƒโ”ฃโ”ซโ”ƒ Read the manpage:\n";
+ Cstruct.of_string "// โ•นโ”—โ”›โ•นโ•ฑ โ•น โ•น โ•นโ•นโ•น โ•นโ•นโ•นโ”—โ”› $ man nixtamal-manifest\n";
+ ]
+ in
+ Eio.Flow.write flow banner;
Util.KDL.to_flow flow mnfst;
Eio.Flow.write flow ([Cstruct.of_string "\n"])
in