Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
os:
- ubuntu-latest
ocaml-compiler:
- 5.3.x
- 5.4.x

runs-on: ${{ matrix.os }}

Expand All @@ -32,7 +32,7 @@ jobs:
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
mbarbin: https://github.com/mbarbin/opam-repository.git
# alpha: https://github.com/kit-ty-kate/opam-alpha-repository.git
alpha: https://github.com/kit-ty-kate/opam-alpha-repository.git
# janestreet-bleeding: https://github.com/janestreet/opam-repository.git
# janestreet-bleeding-external: https://github.com/janestreet/opam-repository.git#external-packages

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
- name: Setup OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.3.x"
ocaml-compiler: "5.4.x"
dune-cache: true
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
mbarbin: https://github.com/mbarbin/opam-repository.git
# alpha: https://github.com/kit-ty-kate/opam-alpha-repository.git
alpha: https://github.com/kit-ty-kate/opam-alpha-repository.git
# janestreet-bleeding: https://github.com/janestreet/opam-repository.git
# janestreet-bleeding-external: https://github.com/janestreet/opam-repository.git#external-packages

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/more-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ jobs:
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 5.4.x
- 5.3.x
- 5.2.x
- 4.14.x
exclude:
# We exclude the combination already tested in the 'ci' workflow.
- os: ubuntu-latest
ocaml-compiler: 5.3.x
ocaml-compiler: 5.4.x
# We exclude windows-4.14 - this fails when building core.
- os: windows-latest
ocaml-compiler: 4.14.x
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
- name: Setup OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.3.x"
ocaml-compiler: "5.4.x"
dune-cache: true
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
mbarbin: https://github.com/mbarbin/opam-repository.git
# alpha: https://github.com/kit-ty-kate/opam-alpha-repository.git
alpha: https://github.com/kit-ty-kate/opam-alpha-repository.git
# janestreet-bleeding: https://github.com/janestreet/opam-repository.git
# janestreet-bleeding-external: https://github.com/janestreet/opam-repository.git#external-packages

Expand Down
2 changes: 1 addition & 1 deletion cmdlang-dev.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ doc: "https://mbarbin.github.io/cmdlang/"
bug-reports: "https://github.com/mbarbin/cmdlang/issues"
depends: [
"dune" {>= "3.17"}
"ocaml" {>= "5.2"}
"ocaml" {>= "5.4"}
"ocamlformat" {= "0.28.1"}
"base" {>= "v0.17"}
"bisect_ppx" {>= "2.8.3"}
Expand Down
2 changes: 1 addition & 1 deletion cmdlang-tests.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ doc: "https://mbarbin.github.io/cmdlang/"
bug-reports: "https://github.com/mbarbin/cmdlang/issues"
depends: [
"dune" {>= "3.17"}
"ocaml" {>= "5.2"}
"ocaml" {>= "5.4"}
"base" {>= "v0.17"}
"climate" {>= "0.8.5"}
"cmdlang" {= version}
Expand Down
8 changes: 7 additions & 1 deletion doc/docs/guides/usage-styles/lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a -open Cmdlang)
(libraries cmdlang)
(lint
(pps ppx_js_style -allow-let-operators -check-doc-comments))
(pps
ppx_js_style
-allow-let-operators
-check-doc-comments
;; A workaround an issue with this particular lint in that repo with OCaml 5.4
;; See also [https://github.com/janestreet/ppx_js_style/issues/4].
-allow-unannotated-ignores))
(preprocess
(pps
-unused-code-warnings=force
Expand Down
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
(synopsis "Tests for cmdlang")
(depends
(ocaml
(>= 5.2))
(>= 5.4))
(base
(>= v0.17))
(climate
Expand Down Expand Up @@ -157,7 +157,7 @@
(allow_empty)
(depends
(ocaml
(>= 5.2))
(>= 5.4))
(ocamlformat
(= 0.28.1))
(base
Expand Down
3 changes: 1 addition & 2 deletions test/cram/doc.t
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ help pages.
dots.

SYNOPSIS
./main_cmdliner.exe doc args-doc-end-with-dots [OPTION]… STRING
STRING
./main_cmdliner.exe doc args-doc-end-with-dots [OPTION]… STRING STRING

ARGUMENTS
STRING (required)
Expand Down
6 changes: 2 additions & 4 deletions test/cram/named-with-default.t
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,7 @@ functions or parsers generated from modules with utils.
Named_with_default__create

SYNOPSIS
./main_cmdliner.exe named with-default create [--who=(A|B)]
[OPTION]…
./main_cmdliner.exe named with-default create [--who=(A|B)] [OPTION]…

OPTIONS
--who=(A|B) (absent=A)
Expand Down Expand Up @@ -414,8 +413,7 @@ Named-with-default with a validated string parameter.
Named_with_default__validated

SYNOPSIS
./main_cmdliner.exe named with-default validated [--who=VAL]
[OPTION]…
./main_cmdliner.exe named with-default validated [--who=VAL] [OPTION]…

OPTIONS
--who=VAL (absent=0000)
Expand Down
Loading