diff options
Diffstat (limited to '2025/ocaml/bin')
| -rw-r--r-- | 2025/ocaml/bin/dune | 8 | ||||
| -rw-r--r-- | 2025/ocaml/bin/main.ml | 4 |
2 files changed, 9 insertions, 3 deletions
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 ()) |
