Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ all-supported-ocaml-versions:

.PHONY: all-supported-ocaml-versions

pprint_test:
ocamlformat src/reason-parser/reason_pprint_ast_pprint.ml -i
dune exec src/refmt/refmt_impl.exe -- test/basicStructures.t/input.re --parse re --print ast > test/basicStructures.t/run.t.ast
dune exec src/refmt/refmt_impl.exe -- test/basicStructures.t/input.re --parse re --print re > test/basicStructures.t/run.t.new

doc:
esy dune build @doc

Expand Down
3 changes: 2 additions & 1 deletion esy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"license": "MIT",
"version": "3.8.2",
"dependencies": {
"@opam/pprint": "*",
"@opam/dune": "> 3.0.0",
"@opam/dune-build-info": "> 3.0.0",
"@opam/fix": "*",
Expand Down Expand Up @@ -48,7 +49,7 @@
"@opam/camomile", "@opam/lambda-term", "@opam/lwt", "@opam/lwt_log",
"@opam/lwt_react", "@opam/menhir", "@opam/mmap",
"@opam/ocplib-endian", "@opam/ocamlfind", "@opam/ppx_derivers",
"@opam/react", "@opam/seq", "@opam/charInfo_width",
"@opam/react", "@opam/seq", "@opam/charInfo_width", "@opam/pprint",
"@opam/utop", "@opam/zed", "ocaml"
],
"rewritePrefix": true
Expand Down
Empty file added src/reason-parser/.ocamlformat
Empty file.
4 changes: 3 additions & 1 deletion src/reason-parser/dune
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
reason_toolchain
reason_config
reason_pprint_ast
reason_pprint_ast_pprint
reason_errors
reason_parser_def
reason_parser
Expand All @@ -127,4 +128,5 @@
reason.ocaml-migrate-parsetree
menhirLib
reason.easy_format
ppxlib))
ppxlib
pprint))
Loading