made src a lib so that it loads into utop
also made an exe dir that does what `main.ml` used to do. now `dune exec aoc` and `dune utop .` both do what they should :)
This commit is contained in:
parent
869858c00e
commit
e1402bc17d
4
exe/dune
Normal file
4
exe/dune
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(executable
|
||||
(public_name aoc)
|
||||
(name main)
|
||||
(libraries aoc))
|
||||
6
exe/main.ml
Normal file
6
exe/main.ml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
open Aoc
|
||||
|
||||
let () =
|
||||
Day1.print ();
|
||||
Day2.print ()
|
||||
;;
|
||||
5
src/dune
5
src/dune
|
|
@ -1,5 +1,4 @@
|
|||
(executable
|
||||
(public_name aoc)
|
||||
(name main)
|
||||
(library
|
||||
(name aoc)
|
||||
(libraries stdio re)
|
||||
(preprocess (pps ppx_regexp)))
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
let () =
|
||||
Day1.print;
|
||||
Day2.print
|
||||
;;
|
||||
Loading…
Reference in New Issue
Block a user