summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2022-04-05 14:01:27 +0300
committerDaniil Baturin <daniil@baturin.org>2022-04-05 14:01:27 +0300
commite625146762b16d85c71209029e19a26d1f42f8be (patch)
tree0768f812dff20925453350ba92acfd585df5e7eb /src
parent35867531ba533033df3d5969219c6c907c67d573 (diff)
downloaduncron-e625146762b16d85c71209029e19a26d1f42f8be.tar.gz
uncron-e625146762b16d85c71209029e19a26d1f42f8be.zip
Switch to dune and add opam packaging
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
-rw-r--r--src/dune10
2 files changed, 10 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
deleted file mode 100644
index 8a00d3a..0000000
--- a/src/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-all: uncron
-
-uncron: uncron.ml
- ocamlfind ocamlopt -I +threads -package lwt,lwt.unix,lwt_ppx,logs,logs.lwt,containers -linkpkg -thread -o uncron -g ./uncron.ml
diff --git a/src/dune b/src/dune
new file mode 100644
index 0000000..bcb4d31
--- /dev/null
+++ b/src/dune
@@ -0,0 +1,10 @@
+(executable
+ (name uncron)
+ (public_name uncron)
+ (libraries
+ containers
+ lwt
+ lwt.unix
+ lwt_ppx
+ logs
+ logs.lwt))