Resto/Jbuilder: fix test packaging
This commit is contained in:
parent
f480d730e1
commit
ab77eb250e
14
vendors/ocplib-resto/lib_ezresto-directory/test/jbuild
vendored
Normal file
14
vendors/ocplib-resto/lib_ezresto-directory/test/jbuild
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
(jbuild_version 1)
|
||||||
|
|
||||||
|
(executable
|
||||||
|
((name ezResto_test)
|
||||||
|
(modules (EzServices EzDirectory EzResto_test))
|
||||||
|
(libraries (ocplib-ezresto-directory lwt.unix))))
|
||||||
|
|
||||||
|
(alias
|
||||||
|
((name runtest_ezresto)
|
||||||
|
(action (run ${path:ezResto_test.exe}))))
|
||||||
|
|
||||||
|
(alias
|
||||||
|
((name runtest)
|
||||||
|
(deps ((alias runtest_ezresto)))))
|
@ -19,6 +19,7 @@ build-test: [
|
|||||||
depends: [
|
depends: [
|
||||||
"ocamlfind" {build}
|
"ocamlfind" {build}
|
||||||
"jbuilder" {build}
|
"jbuilder" {build}
|
||||||
"ocplib-resto"
|
"ocplib-resto" {= "dev" }
|
||||||
"lwt"
|
"ocplib-resto-json" {= "dev" & test }
|
||||||
|
"lwt" { >= "3.0.0" }
|
||||||
]
|
]
|
14
vendors/ocplib-resto/lib_resto-directory/test/jbuild
vendored
Normal file
14
vendors/ocplib-resto/lib_resto-directory/test/jbuild
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
(jbuild_version 1)
|
||||||
|
|
||||||
|
(executable
|
||||||
|
((name resto_test)
|
||||||
|
(modules (Services Directory Resto_test))
|
||||||
|
(libraries (ocplib-resto-directory ocplib-resto-json lwt.unix))))
|
||||||
|
|
||||||
|
(alias
|
||||||
|
((name runtest_resto)
|
||||||
|
(action (run ${path:resto_test.exe}))))
|
||||||
|
|
||||||
|
(alias
|
||||||
|
((name runtest)
|
||||||
|
(deps ((alias runtest_resto)))))
|
24
vendors/ocplib-resto/test/jbuild
vendored
24
vendors/ocplib-resto/test/jbuild
vendored
@ -1,24 +0,0 @@
|
|||||||
(jbuild_version 1)
|
|
||||||
|
|
||||||
(executable
|
|
||||||
((name resto_test)
|
|
||||||
(modules (Services Directory Resto_test))
|
|
||||||
(libraries (ocplib-resto-directory ocplib-resto-json lwt.unix))))
|
|
||||||
|
|
||||||
(alias
|
|
||||||
((name runtest_resto)
|
|
||||||
(action (run ${path:resto_test.exe}))))
|
|
||||||
|
|
||||||
(executable
|
|
||||||
((name ezResto_test)
|
|
||||||
(modules (EzServices EzDirectory EzResto_test))
|
|
||||||
(libraries (ocplib-ezresto-directory lwt.unix))))
|
|
||||||
|
|
||||||
(alias
|
|
||||||
((name runtest_ezresto)
|
|
||||||
(action (run ${path:ezResto_test.exe}))))
|
|
||||||
|
|
||||||
(alias
|
|
||||||
((name runtest)
|
|
||||||
(deps ((alias runtest_resto)
|
|
||||||
(alias runtest_ezresto)))))
|
|
Loading…
Reference in New Issue
Block a user