Skip to content

Commit 9708499

Browse files
author
Marcello Seri
committed
move the standalone tool channel_helper to misc
Remove lwt as a dependency, as it was required by the never built channel_helper. Signed-off-by: Marcello Seri <[email protected]>
1 parent c27a6eb commit 9708499

File tree

6 files changed

+16
-22
lines changed

6 files changed

+16
-22
lines changed

example/jbuild

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
3232
((name example)
3333
(flags (:standard -w -39 %s))
3434
(libraries
35-
(lwt
36-
lwt.unix
37-
rpclib
35+
(rpclib
3836
xcp))
3937
%s))
4038

lib/jbuild

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
4646
((name xcp)
4747
(public_name xcp)
4848
(flags (:standard -w -39 %s -warn-error -3))
49-
(modules (:standard \ channel_helper scheduler task_server updates))
49+
(modules (:standard \ scheduler task_server updates))
5050
(c_names (syslog_stubs))
5151
(libraries
5252
(%s
@@ -78,19 +78,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
7878
(public_name xcp.updates)
7979
(flags (:standard -w -39 %s))
8080
(modules (updates task_server scheduler))
81-
(libraries
82-
(lwt
83-
xcp))
81+
(libraries (xcp))
8482
(wrapped false)
8583
%s))
86-
87-
(executable
88-
((name channel_helper)
89-
(flags (:standard -w -39 %s))
90-
(modules (channel_helper))
91-
(libraries
92-
(cmdliner
93-
lwt
94-
lwt.unix
95-
xcp))))
96-
|} runtime_coverage_enabled flags coverage_dep coverage_rewriter flags coverage_rewriter flags
84+
|} runtime_coverage_enabled flags coverage_dep coverage_rewriter flags coverage_rewriter

lib_test/jbuild

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
3232
((names (test test_alco))
3333
(flags (:standard -w -39 %s))
3434
(libraries
35-
(lwt
36-
lwt.unix
37-
alcotest
35+
(alcotest
3836
oUnit
3937
rpclib
4038
rpclib.markdown
File renamed without changes.

misc/jbuild

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
(jbuild_version 1)
2+
(executable
3+
((name channel_helper)
4+
(modules (channel_helper))
5+
(libraries
6+
(cmdliner
7+
lwt
8+
lwt.unix
9+
xcp))
10+
(preprocess (pps (ppx_deriving_rpc)))
11+
))

xcp.opam

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ depends: [
1414
"cohttp"
1515
"fd-send-recv" {>= "2.0.0"}
1616
"jbuilder" {build & >= "1.0+beta11"}
17-
"lwt" {>= "3.0.0"}
1817
"message-switch-core"
1918
"message-switch-unix"
2019
"ocamlfind" {build}

0 commit comments

Comments
 (0)