diff --git a/dune-project b/dune-project new file mode 100644 index 0000000..7655de0 --- /dev/null +++ b/dune-project @@ -0,0 +1 @@ +(lang dune 1.1) diff --git a/lib/dune b/lib/dune new file mode 100644 index 0000000..a3e147e --- /dev/null +++ b/lib/dune @@ -0,0 +1,7 @@ +(library + (name websocketaf) + (public_name websocketaf) + (libraries + base64 angstrom faraday httpaf result) + (flags (:standard -safe-string))) + diff --git a/lib/jbuild b/lib/jbuild deleted file mode 100644 index f830add..0000000 --- a/lib/jbuild +++ /dev/null @@ -1,9 +0,0 @@ -(jbuild_version 1) - -(library - ((name websocketaf) - (public_name websocketaf) - (libraries - (base64 angstrom faraday httpaf result)) - (flags (:standard -safe-string)))) - diff --git a/websocketaf.opam b/websocketaf.opam index 1f115db..85276a1 100644 --- a/websocketaf.opam +++ b/websocketaf.opam @@ -6,14 +6,14 @@ homepage: "https://github.com/inhabitedtype/websocketaf" bug-reports: "https://github.com/inhabitedtype/websocketaf/issues" dev-repo: "https://github.com/inhabitedtype/websocketaf.git" build: [ - ["jbuilder" "subst"] {pinned} - ["jbuilder" "build" "-p" name "-j" jobs] + ["dune" "subst"] {pinned} + ["dune" "build" "-p" name "-j" jobs] ] build-test: [ - ["jbuilder" "runtest" "-p" name] + ["dune" "runtest" "-p" name] ] depends: [ - "jbuilder" {build & >= "1.0+beta10"} + "dune" {build} "base64" "alcotest" {test} "angstrom" {>= "0.7.0"}