Skip to content
This repository was archived by the owner on Aug 10, 2020. It is now read-only.

Commit 68cf2b9

Browse files
committed
upgrade
1 parent 56ab301 commit 68cf2b9

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"devDependencies": {
3-
"bs-platform": "^0.8.0"
3+
"bs-platform": "0.9.3"
44
},
55
"scripts" : {
6-
"build" : "bsc -I src -c -bs-files src/*.mli src/*.ml "
6+
"build" : "bsc -I src -c -bs-main src/test_http_server.ml"
77
}
88
}

examples/node-http-server/src/http_types.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// GENERATED CODE BY BUCKLESCRIPT VERSION 0.7.1 , PLEASE EDIT WITH CARE
1+
// GENERATED CODE BY BUCKLESCRIPT VERSION 0.9.3 , PLEASE EDIT WITH CARE
22
'use strict';
33

44

examples/node-http-server/src/http_types.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ end [@bs]
4545
type http = _http Js.t
4646

4747

48-
external http : http = "http" [@@bs.val_of_module ]
48+
external http : http = "" [@@bs.module]

examples/node-http-server/src/test_http_server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// GENERATED CODE BY BUCKLESCRIPT VERSION 0.7.1 , PLEASE EDIT WITH CARE
1+
// GENERATED CODE BY BUCKLESCRIPT VERSION 0.9.3 , PLEASE EDIT WITH CARE
22
'use strict';
33

44
var Pervasives = require("bs-platform/lib/js/pervasives");

examples/node-http-server/src/test_http_server.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ let () =
4343

4444

4545
(* local variables: *)
46-
(* compile-command: "./node_modules/bs-platform/bin/bsc -c test_http_server.ml" *)
46+
(* compile-command: "npm run --no-color build" *)
4747
(* end: *)

0 commit comments

Comments
 (0)