diff options
| author | Scott Lawrence <scott+git@ineffectivetheory.com> | 2024-06-20 08:16:30 -0600 |
|---|---|---|
| committer | Scott Lawrence <scott+git@ineffectivetheory.com> | 2024-06-20 08:16:30 -0600 |
| commit | fbdf4ff361cba630cf317296da21763320faaa6c (patch) | |
| tree | 2295b6103ab305b206bb2207c345527fe8e7c777 | |
| parent | 8474ac856637da75b0b48bc3e2c539ea0c3196af (diff) | |
| download | agate-fbdf4ff361cba630cf317296da21763320faaa6c.tar.gz agate-fbdf4ff361cba630cf317296da21763320faaa6c.tar.bz2 agate-fbdf4ff361cba630cf317296da21763320faaa6c.zip | |
Created dune project
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | agate.opam | 31 | ||||
| -rw-r--r-- | bin/dune | 4 | ||||
| -rw-r--r-- | bin/main.ml | 1 | ||||
| -rw-r--r-- | dune-project | 26 | ||||
| -rw-r--r-- | lib/dune | 2 | ||||
| -rw-r--r-- | test/dune | 2 | ||||
| -rw-r--r-- | test/test_agate.ml | 0 |
8 files changed, 67 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..69fa449 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +_build/ diff --git a/agate.opam b/agate.opam new file mode 100644 index 0000000..1d16ad3 --- /dev/null +++ b/agate.opam @@ -0,0 +1,31 @@ +# This file is generated by dune, edit dune-project instead +opam-version: "2.0" +synopsis: "A short synopsis" +description: "A longer description" +maintainer: ["Scott Lawrence"] +authors: ["Scott Lawrence"] +license: "LICENSE" +tags: ["topics" "to describe" "your" "project"] +homepage: "https://github.com/username/reponame" +doc: "https://url/to/documentation" +bug-reports: "https://github.com/username/reponame/issues" +depends: [ + "ocaml" + "dune" {>= "3.16"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/username/reponame.git" diff --git a/bin/dune b/bin/dune new file mode 100644 index 0000000..33c70b5 --- /dev/null +++ b/bin/dune @@ -0,0 +1,4 @@ +(executable + (public_name agate) + (name main) + (libraries agate)) 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..03deec3 --- /dev/null +++ b/dune-project @@ -0,0 +1,26 @@ +(lang dune 3.16) + +(name agate) + +(generate_opam_files true) + +(source + (github username/reponame)) + +(authors "Scott Lawrence") + +(maintainers "Scott Lawrence") + +(license LICENSE) + +(documentation https://url/to/documentation) + +(package + (name agate) + (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..134a0fc --- /dev/null +++ b/lib/dune @@ -0,0 +1,2 @@ +(library + (name agate)) diff --git a/test/dune b/test/dune new file mode 100644 index 0000000..09c38e3 --- /dev/null +++ b/test/dune @@ -0,0 +1,2 @@ +(test + (name test_agate)) diff --git a/test/test_agate.ml b/test/test_agate.ml new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/test_agate.ml |
