mte/unikernel/duniverse/dune_/test/expect-tests/dune_pkg/dune

38 lines
630 B
Text
Raw Normal View History

2025-11-11 02:07:51 +01:00
(library
(name dune_pkg_unit_tests)
(inline_tests
(deps tar-inputs/plaintext.md tarball.tar.gz %{bin:git} %{bin:curl}))
(libraries
dune_tests_common
stdune
dune_pkg
dune_engine
dune_util
dune_lang
dune_vcs
fiber
http
opam_core
threads.posix
unix
base
;; This is because of the (implicit_transitive_deps false)
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_inline_test.config)
(preprocess
(pps ppx_expect)))
(rule
(target tarball.tar.gz)
(deps
(source_tree tar-inputs))
(action
(run tar -czf %{target} %{deps})))
(alias
(name pkg)
(deps
(alias runtest)))