File tree 4 files changed +20
-21
lines changed
4 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 1
1
version=0.27.0
2
- profile=conventional
3
- break-infix=fit-or-vertical
4
- parse-docstrings=true
2
+ profile=janestreet
Original file line number Diff line number Diff line change @@ -8,9 +8,14 @@ module PrettyBytes = struct
8
8
end
9
9
10
10
let options =
11
- PrettyBytes.Options. create ~signed: false
11
+ PrettyBytes.Options. create
12
+ ~signed: false
12
13
~locale: (Primitive. inject (`String " en" ))
13
- ~bits: false ~binary: false ~minimum FractionDigits:1 ~maximum FractionDigits:2
14
+ ~bits: false
15
+ ~binary: false
16
+ ~minimum FractionDigits:1
17
+ ~maximum FractionDigits:2
14
18
()
19
+ ;;
15
20
16
21
let () = print_endline @@ PrettyBytes. pretty_bytes ~number: 128000000 ~options ()
Original file line number Diff line number Diff line change 1
1
(lang dune 3 .17)
2
-
3
2
(name example)
4
3
5
- ( license ISC)
6
-
7
- ( authors " The ocsigen team" )
8
-
9
- ( maintainers " dev@ocsigen.org" )
10
-
11
- ( source
12
- ( github ocsigen/ts2ocaml-example) )
13
-
14
4
( generate_opam_files true )
15
5
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
+
16
11
( package
17
12
(name example)
18
13
(synopsis " Example use of ts2ocaml" )
23
18
gen_js_api
24
19
js_of_ocaml-compiler
25
20
( 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" ) )
Original file line number Diff line number Diff line change 2
2
opam-version: "2.0"
3
3
synopsis: "Example use of ts2ocaml"
4
4
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> "]
7
7
license: "ISC"
8
8
homepage: "https://github.com/ocsigen/ts2ocaml-example"
9
9
bug-reports: "https://github.com/ocsigen/ts2ocaml-example/issues"
You can’t perform that action at this time.
0 commit comments