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,24 @@
The interaction and order of overriding DUNE_PROFILE, --profile, and --release.
Bug #4632
$ cat >dune-project <<EOF
> (lang dune 3.13)
> EOF
$ dune build --verbose 2>&1 | grep "; profile"
; profile = Dev
$ dune build --release --verbose 2>&1 | grep "; profile"
; profile = Release
$ export DUNE_PROFILE=envvar
$ dune build --verbose 2>&1 | grep "; profile"
; profile = User_defined "envvar"
$ dune build --release --verbose 2>&1 | grep "; profile"
; profile = Release
$ dune build --profile cmdline --verbose 2>&1 | grep "; profile"
; profile = User_defined "cmdline"