Skip to content

Commit

Permalink
chore build: add more re_export
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jul 16, 2024
1 parent 3e17532 commit 5130653
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/camlzip/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
(public_name tiny_httpd_camlzip)
(synopsis "A wrapper around camlzip to bring compression to Tiny_httpd")
(flags :standard -open Tiny_httpd_core -safe-string -warn-error -a+8)
(libraries tiny_httpd.core iostream-camlzip camlzip))
(libraries (re_export tiny_httpd.core)
(re_export iostream-camlzip)
camlzip))
6 changes: 4 additions & 2 deletions src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
(name tiny_httpd)
(public_name tiny_httpd)
(flags :standard -open Tiny_httpd_core)
(libraries threads seq unix hmap tiny_httpd.core tiny_httpd.html
tiny_httpd.unix))
(libraries threads seq unix hmap
(re_export tiny_httpd.core)
(re_export tiny_httpd.html)
(re_export tiny_httpd.unix)))
2 changes: 1 addition & 1 deletion src/prometheus/dune
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
(private_modules common_p_ time_)
(flags :standard -open Tiny_httpd_core)
(libraries
tiny_httpd.core unix
(re_export tiny_httpd.core) unix
(select time_.ml from
(mtime mtime.clock.os -> time_.mtime.ml)
(-> time_.default.ml))))
2 changes: 1 addition & 1 deletion src/ws/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
(language c)
(names tiny_httpd_ws_stubs)
(flags :standard -std=c99 -fPIC -O2))
(libraries tiny_httpd.core threads))
(libraries (re_export tiny_httpd.core) threads))

0 comments on commit 5130653

Please sign in to comment.