This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,37 @@
(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)))