Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With dev setup #10

Merged
merged 2 commits into from
Aug 28, 2024
Merged
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
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