commit 46a20906c0197dcf1e044f7a71086411623c782b Author: Matthew Gretton-Dann Date: Tue Dec 3 16:59:41 2024 +0000 Initial commit. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b953b1f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +_opam/ +_build/ +*.opam + diff --git a/.ocamlformat b/.ocamlformat new file mode 100644 index 0000000..1dfb748 --- /dev/null +++ b/.ocamlformat @@ -0,0 +1 @@ +version=0.26.2 diff --git a/bin/dune b/bin/dune new file mode 100644 index 0000000..ee85602 --- /dev/null +++ b/bin/dune @@ -0,0 +1,4 @@ +(executable + (public_name gdcc) + (name main) + (libraries gdcc)) diff --git a/bin/main.ml b/bin/main.ml new file mode 100644 index 0000000..7bf6048 --- /dev/null +++ b/bin/main.ml @@ -0,0 +1 @@ +let () = print_endline "Hello, World!" diff --git a/dune-project b/dune-project new file mode 100644 index 0000000..4c932e3 --- /dev/null +++ b/dune-project @@ -0,0 +1,26 @@ +(lang dune 3.16) + +(name gdcc) + +(generate_opam_files true) + +(source + (github username/reponame)) + +(authors "Author Name") + +(maintainers "Maintainer Name") + +(license LICENSE) + +(documentation https://url/to/documentation) + +(package + (name gdcc) + (synopsis "A short synopsis") + (description "A longer description") + (depends ocaml dune) + (tags + (topics "to describe" your project))) + +; See the complete stanza docs at https://dune.readthedocs.io/en/stable/reference/dune-project/index.html diff --git a/lib/dune b/lib/dune new file mode 100644 index 0000000..c7fd161 --- /dev/null +++ b/lib/dune @@ -0,0 +1,2 @@ +(library + (name gdcc)) diff --git a/test/dune b/test/dune new file mode 100644 index 0000000..9e90d92 --- /dev/null +++ b/test/dune @@ -0,0 +1,2 @@ +(test + (name test_gdcc)) diff --git a/test/test_gdcc.ml b/test/test_gdcc.ml new file mode 100644 index 0000000..e69de29