Merge pull request #1138 from rgrinberg/add-tests-stubs
Add tests for installed stubs artifacts
This commit is contained in:
commit
4dff1c3c8b
|
@ -0,0 +1,4 @@
|
|||
|
||||
int foo () {
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
int bar() {
|
||||
return 0;
|
||||
}
|
|
@ -4,6 +4,8 @@
|
|||
(install_c_headers cfoo)
|
||||
(js_of_ocaml (javascript_files foo.js))
|
||||
(wrapped false)
|
||||
(c_names c)
|
||||
(cxx_names cpp)
|
||||
(public_name foo))
|
||||
|
||||
(library
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
"_build/install/default/lib/foo/foo.mli" {"foo.mli"}
|
||||
"_build/install/default/lib/foo/foo.ml" {"foo.ml"}
|
||||
"_build/install/default/lib/foo/foo.cma" {"foo.cma"}
|
||||
"_build/install/default/lib/foo/libfoo_stubs$ext_lib" {"libfoo_stubs$ext_lib"}
|
||||
"_build/install/default/lib/foo/foo.cmxa" {"foo.cmxa"}
|
||||
"_build/install/default/lib/foo/foo$ext_lib" {"foo$ext_lib"}
|
||||
"_build/install/default/lib/foo/foo.cmxs" {"foo.cmxs"}
|
||||
|
@ -53,3 +54,6 @@
|
|||
doc: [
|
||||
"_build/install/default/doc/foo/odoc-pages/doc.mld" {"odoc-pages/doc.mld"}
|
||||
]
|
||||
stublibs: [
|
||||
"_build/install/default/lib/stublibs/dllfoo_stubs$ext_dll"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue