fix opam file and add install steps to README
This commit is contained in:
parent
705c9e9a7c
commit
f775ed645b
6
README.md
Normal file
6
README.md
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
## 2022 AOC problems in Ocaml
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ opam switch create . --deps-only -y
|
||||||
|
$ dune build
|
||||||
|
```
|
||||||
10
aoc.opam
10
aoc.opam
|
|
@ -12,6 +12,16 @@ bug-reports: "https://github.com/username/reponame/issues"
|
||||||
depends: [
|
depends: [
|
||||||
"ocaml"
|
"ocaml"
|
||||||
"dune" {>= "3.10"}
|
"dune" {>= "3.10"}
|
||||||
|
"re"
|
||||||
|
"containers"
|
||||||
|
"iter"
|
||||||
|
"dune-site"
|
||||||
|
"angstrom"
|
||||||
|
"ppx_deriving"
|
||||||
|
"ppx_deriving_hash"
|
||||||
|
"ppx_regexp"
|
||||||
|
"ppx_expect"
|
||||||
|
"ppx_inline_test"
|
||||||
"odoc" {with-doc}
|
"odoc" {with-doc}
|
||||||
]
|
]
|
||||||
build: [
|
build: [
|
||||||
|
|
|
||||||
14
dune-project
14
dune-project
|
|
@ -21,7 +21,19 @@
|
||||||
(name aoc)
|
(name aoc)
|
||||||
(synopsis "A short synopsis")
|
(synopsis "A short synopsis")
|
||||||
(description "A longer description")
|
(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))
|
(sites (lib inputs))
|
||||||
(tags
|
(tags
|
||||||
(topics "to describe" your project)))
|
(topics "to describe" your project)))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user