Skip to content

Commit

Permalink
Merge pull request #10 from mbarbin/with-dev-setup
Browse files Browse the repository at this point in the history
With dev setup
  • Loading branch information
mbarbin authored Aug 28, 2024
2 parents 395c073 + 19d44b0 commit 3a46d62
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# janestreet-bleeding-external: https://github.com/janestreet/opam-repository.git#external-packages

- name: Install dependencies
run: opam install . --deps-only --with-doc --with-test
run: opam install . --deps-only --with-doc --with-test --with-dev-setup

- name: Build
run: opam exec -- dune build @all @lint
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lint:

.PHONY: deps
deps:
opam install . --deps-only --with-doc --with-test
opam install . --deps-only --with-doc --with-test --with-dev-setup

.PHONY: doc
doc:
Expand Down
16 changes: 12 additions & 4 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@
(depends
(ocaml
(>= 5.2))
(ocamlformat
(and
:with-dev-setup
(= 0.26.2)))
(bisect_ppx
(and
:dev
:with-dev-setup
(>= 2.8.3)))
(ppx_js_style
(and
:dev
:with-dev-setup
(>= v0.17)
(< v0.18)))
(sexplib0
Expand All @@ -43,13 +47,17 @@
(depends
(ocaml
(>= 5.2))
(ocamlformat
(and
:with-dev-setup
(= 0.26.2)))
(base
(and
(>= v0.17)
(< v0.18)))
(bisect_ppx
(and
:dev
:with-dev-setup
(>= 2.8.3)))
(eio
(>= 1.0))
Expand Down Expand Up @@ -85,7 +93,7 @@
(< v0.18)))
(ppx_js_style
(and
:dev
:with-dev-setup
(>= v0.17)
(< v0.18)))
(ppx_let
Expand Down
5 changes: 3 additions & 2 deletions provider-tests.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ bug-reports: "https://github.com/mbarbin/provider/issues"
depends: [
"dune" {>= "3.16"}
"ocaml" {>= "5.2"}
"ocamlformat" {with-dev-setup & = "0.26.2"}
"base" {>= "v0.17" & < "v0.18"}
"bisect_ppx" {dev & >= "2.8.3"}
"bisect_ppx" {with-dev-setup & >= "2.8.3"}
"eio" {>= "1.0"}
"eio_main" {>= "1.0"}
"expect_test_helpers_core" {>= "v0.17" & < "v0.18"}
Expand All @@ -21,7 +22,7 @@ depends: [
"ppx_expect" {>= "v0.17" & < "v0.18"}
"ppx_hash" {>= "v0.17" & < "v0.18"}
"ppx_here" {>= "v0.17" & < "v0.18"}
"ppx_js_style" {dev & >= "v0.17" & < "v0.18"}
"ppx_js_style" {with-dev-setup & >= "v0.17" & < "v0.18"}
"ppx_let" {>= "v0.17" & < "v0.18"}
"ppx_sexp_conv" {>= "v0.17" & < "v0.18"}
"ppx_sexp_value" {>= "v0.17" & < "v0.18"}
Expand Down
5 changes: 3 additions & 2 deletions provider.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ bug-reports: "https://github.com/mbarbin/provider/issues"
depends: [
"dune" {>= "3.16"}
"ocaml" {>= "5.2"}
"bisect_ppx" {dev & >= "2.8.3"}
"ppx_js_style" {dev & >= "v0.17" & < "v0.18"}
"ocamlformat" {with-dev-setup & = "0.26.2"}
"bisect_ppx" {with-dev-setup & >= "2.8.3"}
"ppx_js_style" {with-dev-setup & >= "v0.17" & < "v0.18"}
"sexplib0" {>= "v0.17" & < "v0.18"}
"odoc" {with-doc}
]
Expand Down

0 comments on commit 3a46d62

Please sign in to comment.