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)
|
# generate all petstore samples (openapi3)
|
||||||
- /bin/bash bin/openapi3/run-all-petstore
|
- /bin/bash bin/openapi3/run-all-petstore
|
||||||
# test ocaml petstore client
|
# test ocaml petstore client
|
||||||
#- name: ocaml-test
|
- name: ocaml-test
|
||||||
# image: ocaml/opam2:4.07
|
image: ocaml/opam2:4.07
|
||||||
# commands:
|
commands:
|
||||||
# - sudo apt-get -y install m4
|
- sudo apt-get -y install m4
|
||||||
# - cd samples/client/petstore/ocaml
|
- cd samples/client/petstore/ocaml
|
||||||
# - 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)
|
- eval $(opam env)
|
||||||
# - sudo chmod -R 777 .
|
- sudo chmod -R 777 .
|
||||||
# - dune build --build-dir=./_build
|
- dune build --build-dir=./_build
|
||||||
|
@ -24,7 +24,7 @@ OCaml 4.x
|
|||||||
Please run the following commands to build the package `{{{packageName}}}`:
|
Please run the following commands to build the package `{{{packageName}}}`:
|
||||||
|
|
||||||
```sh
|
```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)
|
eval $(opam env)
|
||||||
dune build
|
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`:
|
Please run the following commands to build the package `petstore_client`:
|
||||||
|
|
||||||
```sh
|
```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)
|
eval $(opam env)
|
||||||
dune build
|
dune build
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user