From 87277098e997661f432be56c27f4b54d51aa9306 Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Sat, 29 Nov 2025 20:08:11 +0100 Subject: chore: use updated template --- 2025/ocaml/bin/dune | 8 ++++++-- 2025/ocaml/bin/main.ml | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to '2025/ocaml/bin') diff --git a/2025/ocaml/bin/dune b/2025/ocaml/bin/dune index a912fd0..49a288c 100644 --- a/2025/ocaml/bin/dune +++ b/2025/ocaml/bin/dune @@ -1,4 +1,8 @@ (executable - (public_name advent_of_code_2025) + (public_name advent_of_code) (name main) - (libraries advent_of_code_2025)) + (libraries + domain + application + infrastructure + presentation)) diff --git a/2025/ocaml/bin/main.ml b/2025/ocaml/bin/main.ml index 7bf6048..f34d5ef 100644 --- a/2025/ocaml/bin/main.ml +++ b/2025/ocaml/bin/main.ml @@ -1 +1,3 @@ -let () = print_endline "Hello, World!" +let main () = Presentation.Cli.run () + +let () = if !Sys.interactive then () else exit (main ()) -- cgit v1.2.3