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,18 @@
$ . ../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