From f775ed645b8607df076db7ad7fcf82aba3104af5 Mon Sep 17 00:00:00 2001 From: rmanseau Date: Mon, 20 Nov 2023 12:24:23 -0800 Subject: [PATCH] fix opam file and add install steps to README --- README.md | 6 ++++++ aoc.opam | 10 ++++++++++ dune-project | 14 +++++++++++++- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a4a84f8 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +## 2022 AOC problems in Ocaml + +```sh +$ opam switch create . --deps-only -y +$ dune build +``` diff --git a/aoc.opam b/aoc.opam index 727e6a1..cfadcf5 100644 --- a/aoc.opam +++ b/aoc.opam @@ -12,6 +12,16 @@ bug-reports: "https://github.com/username/reponame/issues" depends: [ "ocaml" "dune" {>= "3.10"} + "re" + "containers" + "iter" + "dune-site" + "angstrom" + "ppx_deriving" + "ppx_deriving_hash" + "ppx_regexp" + "ppx_expect" + "ppx_inline_test" "odoc" {with-doc} ] build: [ diff --git a/dune-project b/dune-project index 321aace..ab15a8b 100644 --- a/dune-project +++ b/dune-project @@ -21,7 +21,19 @@ (name aoc) (synopsis "A short synopsis") (description "A longer description") - (depends ocaml dune) + (depends + ocaml + dune + re + containers + iter + dune-site + angstrom + ppx_deriving + ppx_deriving_hash + ppx_regexp + ppx_expect + ppx_inline_test) (sites (lib inputs)) (tags (topics "to describe" your project)))