dune project init

This commit is contained in:
tali 2024-01-05 18:59:17 -05:00
commit e92507b33c
6 changed files with 49 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
_build/

12
.ocp-indent Normal file
View File

@ -0,0 +1,12 @@
base = 2
type = 2
in = 0
with = 0
match_clause = 2
ppx_stritem_ext = 2
max_indent = 1000
strict_with = never
strict_else = always
strict_comments = false
align_ops = true
align_params = always

5
bin/dune Normal file
View File

@ -0,0 +1,5 @@
(executable
(public_name talircd)
(name main)
(libraries
))

2
bin/main.ml Normal file
View File

@ -0,0 +1,2 @@
let () =
print_endline "hello world"

8
dune-project Normal file
View File

@ -0,0 +1,8 @@
(lang dune 3.8)
(name talircd)
(generate_opam_files true)
(package
(name talircd)
(depends
ocaml
dune))

21
talircd.opam Normal file
View File

@ -0,0 +1,21 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
depends: [
"ocaml"
"dune" {>= "3.8"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]