From 46a20906c0197dcf1e044f7a71086411623c782b Mon Sep 17 00:00:00 2001 From: Matthew Gretton-Dann Date: Tue, 3 Dec 2024 16:59:41 +0000 Subject: [PATCH] Initial commit. --- .gitignore | 4 ++++ .ocamlformat | 1 + bin/dune | 4 ++++ bin/main.ml | 1 + dune-project | 26 ++++++++++++++++++++++++++ lib/dune | 2 ++ test/dune | 2 ++ test/test_gdcc.ml | 0 8 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 .ocamlformat create mode 100644 bin/dune create mode 100644 bin/main.ml create mode 100644 dune-project create mode 100644 lib/dune create mode 100644 test/dune create mode 100644 test/test_gdcc.ml 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