Skip to content

Commit

Permalink
Eliminate logs-syslog.lwt.common package
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Aug 17, 2018
1 parent 8aa6e40 commit 1e77ba6
Show file tree
Hide file tree
Showing 14 changed files with 37 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_build/
logs-syslog.install
src/.merlin
src/**/.merlin

example/mirage-unikernel-*.opam
example/.mirage.config
Expand Down
39 changes: 0 additions & 39 deletions src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -14,42 +14,3 @@
(synopsis "Unix syslog reporter")
(libraries logs-syslog ptime.clock.os unix)
(modules logs_syslog_unix))

(library
(name logs_syslog_lwt_common)
(public_name logs-syslog.lwt.common)
(libraries logs-syslog lwt)
(optional)
(modules logs_syslog_lwt_common))

(library
(name logs_syslog_lwt)
(public_name logs-syslog.lwt)
(synopsis "Lwt syslog reporter")
(libraries logs-syslog logs-syslog.lwt.common ptime.clock.os lwt lwt.unix)
(optional)
(modules logs_syslog_lwt))

(library
(name logs_syslog_lwt_tls)
(public_name logs-syslog.lwt.tls)
(synopsis "Lwt TLS syslog reporter")
(libraries logs-syslog.lwt x509 tls tls.lwt cstruct)
(optional)
(modules logs_syslog_lwt_tls))

(library
(name logs_syslog_mirage)
(public_name logs-syslog.mirage)
(synopsis "Mirage syslog reporter")
(libraries logs-syslog.lwt.common ipaddr lwt mirage-console-lwt mirage-clock mirage-stack-lwt cstruct)
(optional)
(modules logs_syslog_mirage))

(library
(name logs_syslog_mirage_tls)
(public_name logs-syslog.mirage.tls)
(synopsis "Mirage TLS syslog reporter")
(libraries logs-syslog.mirage x509 tls tls.mirage mirage-kv-lwt)
(optional)
(modules logs_syslog_mirage_tls))
9 changes: 9 additions & 0 deletions src/lwt-tls/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(library
(name logs_syslog_lwt_tls)
(public_name logs-syslog.lwt.tls)
(synopsis "Lwt TLS syslog reporter")
(libraries logs-syslog.lwt x509 tls tls.lwt cstruct)
(optional))

(rule (copy ../logs_syslog_lwt_common.mli logs_syslog_lwt_common.mli))
(rule (copy ../logs_syslog_lwt_common.ml logs_syslog_lwt_common.ml))
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions src/lwt/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(library
(name logs_syslog_lwt)
(public_name logs-syslog.lwt)
(synopsis "Lwt syslog reporter")
(libraries logs-syslog ptime.clock.os lwt lwt.unix)
(optional))

(rule (copy ../logs_syslog_lwt_common.mli logs_syslog_lwt_common.mli))
(rule (copy ../logs_syslog_lwt_common.ml logs_syslog_lwt_common.ml))
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions src/mirage-tls/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(library
(name logs_syslog_mirage_tls)
(public_name logs-syslog.mirage.tls)
(synopsis "Mirage TLS syslog reporter")
(libraries logs-syslog.mirage x509 tls tls.mirage mirage-kv-lwt)
(optional))

(rule (copy ../logs_syslog_lwt_common.mli logs_syslog_lwt_common.mli))
(rule (copy ../logs_syslog_lwt_common.ml logs_syslog_lwt_common.ml))
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions src/mirage/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(library
(name logs_syslog_mirage)
(public_name logs-syslog.mirage)
(synopsis "Mirage syslog reporter")
(libraries logs-syslog ipaddr lwt mirage-console-lwt mirage-clock mirage-stack-lwt cstruct)
(optional))

(rule (copy ../logs_syslog_lwt_common.mli logs_syslog_lwt_common.mli))
(rule (copy ../logs_syslog_lwt_common.ml logs_syslog_lwt_common.ml))
File renamed without changes.
File renamed without changes.

0 comments on commit 1e77ba6

Please sign in to comment.