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:
1 parent
869858c00e
commit
e1402bc17d
4 files changed
+12
-7
No files matched your search
@@ -0,0 +1,6 @@
|
||||
open Aoc
|
||||
|
||||
let () =
|
||||
Day1.print ();
|
||||
Day2.print ()
|
||||
;;
|
||||
@@ -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
|
||||
;;
|
||||
Reference in new issue
Block a user