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

Remove unused dependencies and upgrade to ounit2 #241

Merged
merged 2 commits into from
Oct 30, 2020
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
4 changes: 1 addition & 3 deletions ppx_deriving.opam
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ depends: [
"ocaml" {>= "4.05.0"}
"dune" {>= "1.6.3"}
"cppo" {build}
"ocamlfind"
"ocaml-migrate-parsetree"
"ppx_derivers"
"ppxlib" {>= "0.18.0"}
"result"
"ounit" {with-test}
"ounit2" {with-test}
]
synopsis: "Type-driven code generation for OCaml"
description: """
Expand Down
3 changes: 1 addition & 2 deletions src/api/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
compiler-libs.common
ppxlib
result
ppx_derivers
ocaml-migrate-parsetree))
ppx_derivers))

(rule
(deps ppx_deriving.cppo.ml)
Expand Down
2 changes: 1 addition & 1 deletion src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

(executable
(name ppx_deriving_main)
(libraries ppx_deriving_api findlib.dynload compiler-libs.common)
(libraries ppx_deriving_api compiler-libs.common)
(link_flags :standard -linkall)
(preprocess (pps ppxlib.metaquot)))

Expand Down
2 changes: 1 addition & 1 deletion src_test/api/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

(test
(name test_api)
(libraries oUnit compiler-libs.common ppx_deriving.api)
(libraries ounit2 compiler-libs.common ppx_deriving.api)
(preprocess (pps ppxlib.metaquot)))
2 changes: 1 addition & 1 deletion src_test/create/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(test
(name test_deriving_create)
(libraries oUnit ppx_deriving.runtime)
(libraries ounit2 ppx_deriving.runtime)
(preprocess (pps ppx_deriving.create ppx_deriving.show)))
2 changes: 1 addition & 1 deletion src_test/deriving/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(test
(name test_ppx_deriving)
(libraries oUnit compiler-libs.common ppx_deriving.api)
(libraries ounit2 compiler-libs.common ppx_deriving.api)
(preprocess (pps ppx_deriving.ord ppx_deriving.show ppx_deriving.eq)))
2 changes: 1 addition & 1 deletion src_test/enum/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(test
(name test_deriving_enum)
(libraries oUnit ppx_deriving.runtime)
(libraries ounit2 ppx_deriving.runtime)
(preprocess (pps ppx_deriving.enum ppx_deriving.show)))
2 changes: 1 addition & 1 deletion src_test/eq/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

(test
(name test_deriving_eq)
(libraries oUnit ppx_deriving.runtime)
(libraries ounit2 ppx_deriving.runtime)
(preprocess (pps ppx_deriving.eq ppx_deriving.show)))
2 changes: 1 addition & 1 deletion src_test/fold/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

(test
(name test_deriving_fold)
(libraries oUnit ppx_deriving.runtime)
(libraries ounit2 ppx_deriving.runtime)
(preprocess (pps ppx_deriving.fold)))
2 changes: 1 addition & 1 deletion src_test/iter/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

(test
(name test_deriving_iter)
(libraries oUnit ppx_deriving.runtime)
(libraries ounit2 ppx_deriving.runtime)
(preprocess (pps ppx_deriving.iter ppx_deriving.show)))
2 changes: 1 addition & 1 deletion src_test/make/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(test
(name test_deriving_make)
(libraries oUnit ppx_deriving.runtime)
(libraries ounit2 ppx_deriving.runtime)
(preprocess (pps ppx_deriving.make ppx_deriving.show)))
2 changes: 1 addition & 1 deletion src_test/map/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

(test
(name test_deriving_map)
(libraries oUnit ppx_deriving.runtime)
(libraries ounit2 ppx_deriving.runtime)
(preprocess (pps ppx_deriving.map ppx_deriving.show)))
2 changes: 1 addition & 1 deletion src_test/ord/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

(test
(name test_deriving_ord)
(libraries oUnit ppx_deriving.runtime)
(libraries ounit2 ppx_deriving.runtime)
(preprocess (pps ppx_deriving.ord)))
2 changes: 1 addition & 1 deletion src_test/runtime/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

(test
(name test_runtime)
(libraries oUnit ppx_deriving.runtime)
(libraries ounit2 ppx_deriving.runtime)
(preprocess (pps ppx_deriving.eq ppx_deriving.show)))
2 changes: 1 addition & 1 deletion src_test/show/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

(test
(name test_deriving_show)
(libraries oUnit ppx_deriving.runtime)
(libraries ounit2 ppx_deriving.runtime)
(preprocess (pps ppx_deriving.show)))