Skip to content

Commit 615896f

Browse files
committedDec 13, 2024·
Chores
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 00f58a2 commit 615896f

File tree

4 files changed

+20
-21
lines changed

4 files changed

+20
-21
lines changed
 

‎.ocamlformat

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
version=0.27.0
2-
profile=conventional
3-
break-infix=fit-or-vertical
4-
parse-docstrings=true
2+
profile=janestreet

‎bin/main.ml

+7-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ module PrettyBytes = struct
88
end
99

1010
let options =
11-
PrettyBytes.Options.create ~signed:false
11+
PrettyBytes.Options.create
12+
~signed:false
1213
~locale:(Primitive.inject (`String "en"))
13-
~bits:false ~binary:false ~minimumFractionDigits:1 ~maximumFractionDigits:2
14+
~bits:false
15+
~binary:false
16+
~minimumFractionDigits:1
17+
~maximumFractionDigits:2
1418
()
19+
;;
1520

1621
let () = print_endline @@ PrettyBytes.pretty_bytes ~number:128000000 ~options ()

‎dune-project

+10-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
(lang dune 3.17)
2-
32
(name example)
43

5-
(license ISC)
6-
7-
(authors "The ocsigen team")
8-
9-
(maintainers "dev@ocsigen.org")
10-
11-
(source
12-
(github ocsigen/ts2ocaml-example))
13-
144
(generate_opam_files true)
155

6+
(license ISC)
7+
(maintainers "The ocsigen team <dev@ocsigen.org>")
8+
(authors "The ocsigen team <dev@ocsigen.org>")
9+
(source (github ocsigen/ts2ocaml-example))
10+
1611
(package
1712
(name example)
1813
(synopsis "Example use of ts2ocaml")
@@ -23,7 +18,8 @@
2318
gen_js_api
2419
js_of_ocaml-compiler
2520
(ocaml-lsp-server :with-dev-setup)
26-
(ocamlformat
27-
(and
28-
:with-dev-setup
29-
(= 0.27.0)))))
21+
(ocamlformat (and :with-dev-setup (= 0.27.0)))))
22+
23+
(pin
24+
(package (name ts2ocaml-jsoo-stdlib))
25+
(url "git+https://github.com/ocsigen/ts2ocaml.git#jsoo-stdlib-v2.0.0-beta.3"))

‎example.opam

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
opam-version: "2.0"
33
synopsis: "Example use of ts2ocaml"
44
description: "Example use of ts2ocaml"
5-
maintainer: ["dev@ocsigen.org"]
6-
authors: ["The ocsigen team"]
5+
maintainer: ["The ocsigen team <dev@ocsigen.org>"]
6+
authors: ["The ocsigen team <dev@ocsigen.org>"]
77
license: "ISC"
88
homepage: "https://github.com/ocsigen/ts2ocaml-example"
99
bug-reports: "https://github.com/ocsigen/ts2ocaml-example/issues"

0 commit comments

Comments
 (0)
Please sign in to comment.