initializa project

This commit is contained in:
Mylloon 2023-06-05 17:28:44 +02:00
commit 91fb3744b8
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
9 changed files with 65 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
_build/

1
.ocamlformat Normal file
View file

@ -0,0 +1 @@
profile = janestreet

4
bin/dune Normal file
View file

@ -0,0 +1,4 @@
(executable
(public_name dnstoy)
(name main)
(libraries dnstoy))

1
bin/main.ml Normal file
View file

@ -0,0 +1 @@
let () = ()

29
dnstoy.opam Normal file
View file

@ -0,0 +1,29 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "DNS implementation (toy)"
description: "Implement DNS in a weekend, in OCaml"
maintainer: ["Mylloon"]
authors: ["Mylloon"]
license: "AGPL-3.0-or-later"
tags: ["dns"]
doc: "https://implement-dns.wizardzines.com/book/intro.html"
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}
]
]
dev-repo: "https://git.mylloon.fr/Anri/dns-toy.git"

25
dune-project Normal file
View file

@ -0,0 +1,25 @@
(lang dune 3.8)
(name dnstoy)
(generate_opam_files true)
(source
(uri https://git.mylloon.fr/Anri/dns-toy.git))
(authors "Mylloon")
(maintainers "Mylloon")
(license AGPL-3.0-or-later)
(documentation https://implement-dns.wizardzines.com/book/intro.html)
(package
(name dnstoy)
(synopsis "DNS implementation (toy)")
(description "Implement DNS in a weekend, in OCaml")
(depends ocaml dune)
(tags (dns)))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project

2
lib/dune Normal file
View file

@ -0,0 +1,2 @@
(library
(name dnstoy))

0
test/dnstoy.ml Normal file
View file

2
test/dune Normal file
View file

@ -0,0 +1,2 @@
(test
(name dnstoy))