commit 37abe390f197109fc35619de066e2170bddd16fa
parent 084c599ff5f7e057c367b9fa6c0f615cd599d1af
Author: Andrew Laack <andrew@laack.co>
Date: Fri, 28 Aug 2026 20:45:42 -0500
Adding another project for file format conversions.
Diffstat:
7 files changed, 68 insertions(+), 0 deletions(-)
diff --git a/md-to-sl/bin/dune b/md-to-sl/bin/dune
@@ -0,0 +1,4 @@
+(executable
+ (public_name md-to-sl)
+ (name main)
+ (libraries md_to_sl))
diff --git a/md-to-sl/bin/main.ml b/md-to-sl/bin/main.ml
@@ -0,0 +1 @@
+let () = print_endline "Hello, World!"
diff --git a/md-to-sl/dune-project b/md-to-sl/dune-project
@@ -0,0 +1,26 @@
+(lang dune 3.24)
+
+(name md-to-sl)
+
+(generate_opam_files true)
+
+(source
+ (github username/reponame))
+
+(authors "Author Name <author@example.com>")
+
+(maintainers "Maintainer Name <maintainer@example.com>")
+
+(license LICENSE)
+
+(documentation https://url/to/documentation)
+
+(package
+ (name md-to-sl)
+ (synopsis "A short synopsis")
+ (description "A longer description")
+ (depends ocaml)
+ (tags
+ ("add 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/md-to-sl/lib/dune b/md-to-sl/lib/dune
@@ -0,0 +1,2 @@
+(library
+ (name md_to_sl))
diff --git a/md-to-sl/md-to-sl.opam b/md-to-sl/md-to-sl.opam
@@ -0,0 +1,32 @@
+# This file is generated by dune, edit dune-project instead
+opam-version: "2.0"
+synopsis: "A short synopsis"
+description: "A longer description"
+maintainer: ["Maintainer Name <maintainer@example.com>"]
+authors: ["Author Name <author@example.com>"]
+license: "LICENSE"
+tags: ["add 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: [
+ "dune" {>= "3.24"}
+ "ocaml"
+ "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"
+x-maintenance-intent: ["(latest)"]
diff --git a/md-to-sl/test/dune b/md-to-sl/test/dune
@@ -0,0 +1,3 @@
+(test
+ (name test_md_to_sl)
+ (libraries md_to_sl))
diff --git a/md-to-sl/test/test_md_to_sl.ml b/md-to-sl/test/test_md_to_sl.ml