File tree Expand file tree Collapse file tree 8 files changed +32
-204
lines changed Expand file tree Collapse file tree 8 files changed +32
-204
lines changed Original file line number Diff line number Diff line change 11(rule
22 (alias gobview)
33 (targets dist)
4- (deps src/App.bc.js node_modules webpack.config.js)
4+ (deps src/App.bc.js goblint-http-server/src/goblint_http.exe node_modules webpack.config.js)
55 (action
66 (run npx webpack build)))
77
Original file line number Diff line number Diff line change 2424 (synopsis " Web frontend for Goblint" )
2525 ( depends
2626 dune
27- ( ocaml
28- ( >= 4 .10.0) )
27+ ( ocaml ( >= 4 .10.0) )
28+ batteries
29+ cohttp-lwt
30+ cohttp-lwt-unix
31+ fileutils
32+ jsonrpc
33+ lwt
34+ lwt_ppx
35+ yojson
36+ conduit-lwt-unix
2937 jsoo-react
3038 ( goblint-cil ( >= 2 .0.0) )
3139 ctypes_stubs_js
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11(executable
22 (name goblint_http)
33 (public_name goblint-http)
4- (libraries batteries cohttp cohttp-lwt-unix jsonrpc lwt.unix)
4+ (libraries
5+ batteries
6+ cohttp
7+ cohttp-lwt
8+ cohttp-lwt-unix
9+ conduit-lwt-unix
10+ jsonrpc
11+ lwt.unix
12+ yojson
13+ uri)
514 (preprocess
615 (pps lwt_ppx ppx_yojson_conv)))
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ let send goblint name params =
3030 let id = `Int goblint.counter in
3131 goblint.counter < - goblint.counter + 1 ;
3232 let req =
33- Jsonrpc.Message . create ?params ~id ~method_: name ()
34- |> Jsonrpc.Message. yojson_of_request
33+ Jsonrpc.Request . create ?params ~id ~method_: name ()
34+ |> Jsonrpc.Request. yojson_of_t
3535 |> Yojson.Safe. to_string in
3636 Printf. printf " send jsonrpc message:\n %s\n " req;
3737 let % lwt () = Lwt_io. fprintl goblint.output req in
Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ bug-reports: "https://github.com/goblint/gobview/issues"
1414depends: [
1515 "dune" {>= "2.7"}
1616 "ocaml" {>= "4.10.0"}
17+ "batteries"
18+ "cohttp-lwt"
19+ "cohttp-lwt-unix"
20+ "fileutils"
21+ "jsonrpc"
22+ "lwt"
23+ "lwt_ppx"
24+ "yojson"
25+ "conduit-lwt-unix"
1726 "jsoo-react"
1827 "goblint-cil" {>= "2.0.0"}
1928 "ctypes_stubs_js"
You can’t perform that action at this time.
0 commit comments