forked from loafle/openapi-generator-original
[OCAML] Fixes cloud.drone.io ocaml-test (#4501)
* Fixes ocaml-test * Ocaml readme update
This commit is contained in:
parent
3cd0e13a46
commit
d175673077
@ -29,12 +29,12 @@ steps:
|
||||
# generate all petstore samples (openapi3)
|
||||
- /bin/bash bin/openapi3/run-all-petstore
|
||||
# test ocaml petstore client
|
||||
#- name: ocaml-test
|
||||
# image: ocaml/opam2:4.07
|
||||
# commands:
|
||||
# - sudo apt-get -y install m4
|
||||
# - cd samples/client/petstore/ocaml
|
||||
# - opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix
|
||||
# - eval $(opam env)
|
||||
# - sudo chmod -R 777 .
|
||||
# - dune build --build-dir=./_build
|
||||
- name: ocaml-test
|
||||
image: ocaml/opam2:4.07
|
||||
commands:
|
||||
- sudo apt-get -y install m4
|
||||
- cd samples/client/petstore/ocaml
|
||||
- opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix pin ocaml-migrate-parsetree 1.3.1
|
||||
- eval $(opam env)
|
||||
- sudo chmod -R 777 .
|
||||
- dune build --build-dir=./_build
|
||||
|
@ -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
|
||||
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix pin ocaml-migrate-parsetree 1.3.1
|
||||
eval $(opam env)
|
||||
dune build
|
||||
```
|
||||
|
@ -1 +1 @@
|
||||
4.1.0-SNAPSHOT
|
||||
4.2.2-SNAPSHOT
|
@ -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
|
||||
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix pin ocaml-migrate-parsetree 1.3.1
|
||||
eval $(opam env)
|
||||
dune build
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user