mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/subst/git-subfolder.t
2025-11-11 02:07:51 +01:00

18 lines
512 B
Perl

$ . ../git-helpers.sh
Running `dune subst` in a subfolder of a Git repository should work.
Regression test for https://github.com/ocaml/dune/issues/11045
$ git init --quiet
$ dune init proj subfolder
Entering directory 'subfolder'
Success: initialized project component named subfolder
Leaving directory 'subfolder'
$ unset INSIDE_DUNE
`dune subst` requires at least one commit in the repository.
$ git add -A && git commit --quiet --message "Initial commit"
$ cd subfolder
$ dune subst