fix ocaml readme installation (#12477)

This commit is contained in:
William Cheng 2022-05-27 00:03:24 +08:00 committed by GitHub
parent 5cce050260
commit c6a4947523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

3
.gitignore vendored
View File

@ -266,3 +266,6 @@ samples/client/petstore/crystal/lib
# Go
samples/openapi3/client/petstore/go/privatekey.pem
## OCaml
samples/client/petstore/ocaml/_build/

View File

@ -24,7 +24,7 @@ OCaml 4.x
Please run the following commands to build the package `{{{packageName}}}`:
```sh
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix pin ocaml-migrate-parsetree 1.3.1
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix ocaml-migrate-parsetree
eval $(opam env)
dune build
```

View File

@ -1 +1 @@
6.0.0-SNAPSHOT
6.0.1-SNAPSHOT

View File

@ -16,7 +16,7 @@ OCaml 4.x
Please run the following commands to build the package `petstore_client`:
```sh
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix pin ocaml-migrate-parsetree 1.3.1
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix ocaml-migrate-parsetree
eval $(opam env)
dune build
```