Skip to content

Commit

Permalink
Switch to dune.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Mar 28, 2020
1 parent 0207fdf commit 5ce8f6e
Show file tree
Hide file tree
Showing 34 changed files with 1,136 additions and 4,498 deletions.
29 changes: 7 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
Makefile
aclocal.m4
autom4te.cache/
config.guess
config.log
config.status
config.sub
configure
install-sh
src/META
src/Makefile
._bcdi
._d
._ncdi
src/*.a
src/*.cm*
src/*.o
src/*.so
src/*.annot
examples/Makefile.http
examples/Makefile.telnet
*.sw*
*~
_build
*.byte
*.native
_tests
.merlin
*.install
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

9 changes: 9 additions & 0 deletions .ocamlformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
profile = conventional
break-separators = after
space-around-lists = false
doc-comments = before
match-indent = 2
match-indent-nested = always
parens-ite
exp-grouping = preserve
module-item-spacing = compact
4 changes: 3 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
0.8.1 (unreleased)
0.9.0 (unreleased)
=====
* Add offset/length to writing functions.
* Convert to dune.
* Drop unused SSL and SecureTransport optional libs.

0.8.0 (12-11-2018)
=====
Expand Down
31 changes: 0 additions & 31 deletions Makefile.in

This file was deleted.

1 change: 0 additions & 1 deletion bootstrap

This file was deleted.

67 changes: 0 additions & 67 deletions configure.ac

This file was deleted.

17 changes: 17 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
(lang dune 2.0)
(version 0.6.5)
(name duppy)
(source (github savonet/ocaml-duppy))
(license GPL-2.0)
(authors "Romain Beauxis <[email protected]>")
(maintainers "The Savonet Team <[email protected]>")

(generate_opam_files true)

(package
(name duppy)
(synopsis "Library providing monadic threads")
(depends
(dune (> 2.0))
pcre)
)
32 changes: 19 additions & 13 deletions duppy.opam
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
name: "duppy"
version: "0.8.1"
maintainer: "Romain Beauxis <[email protected]>"
authors: "The Savonet Team <[email protected]>"
version: "0.6.5"
synopsis: "Library providing monadic threads"
maintainer: ["The Savonet Team <[email protected]>"]
authors: ["Romain Beauxis <[email protected]>"]
license: "GPL-2.0"
homepage: "https://github.com/savonet/ocaml-duppy"
bug-reports: "https://github.com/savonet/ocaml-duppy/issues"
depends: [
"ocaml"
"ocamlfind" {build}
"dune" {> "2.0"}
"pcre"
]
depopts: ["ssl" "osx-secure-transport"]
build: [
["./bootstrap"] {dev}
["./configure" "--prefix" prefix]
[make "clean"] {dev}
[make]
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
install: [make "install"]
dev-repo: "git+https://github.com/savonet/ocaml-duppy.git"
synopsis: "Library providing monadic threads"
12 changes: 0 additions & 12 deletions examples/Makefile

This file was deleted.

10 changes: 0 additions & 10 deletions examples/Makefile.http.in

This file was deleted.

10 changes: 0 additions & 10 deletions examples/Makefile.telnet.in

This file was deleted.

Loading

0 comments on commit 5ce8f6e

Please sign in to comment.