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,5 @@
(env
(default
(flags "in bin")
(c_flags ())
(cxx_flags ())))

View file

@ -0,0 +1,5 @@
(env
(default
(flags :standard ":standard + in .")
(c_flags ())
(cxx_flags ())))

View file

@ -0,0 +1 @@
(lang dune 1.7)

View file

@ -0,0 +1,3 @@
#!/bin/bash
dune printenv $@

View file

@ -0,0 +1,34 @@
$ alias dune_printenv='dune printenv --profile default --field flags'
$ dune_printenv .
(flags
(-w -40 ":standard + in ."))
$ dune_printenv src
(flags
(-w -40 ":standard + in ." ":standard + in src"))
$ dune_printenv bin
(flags ("in bin"))
$ dune_printenv vendor
(flags
(-w -40 ":standard + in ."))
Vendored project without env customization, the global default should
apply:
$ dune_printenv vendor/without-env-customization
(flags
(-w -40))
Vendored project with env customization, the global default +
customization of vendored project should apply:
$ dune_printenv vendor/with-env-customization
(flags
(-w -40 ":standard + in vendor/with-env-customization"))
$ dune_printenv vendor/with-env-customization/src
(flags ("in vendor/with-env-customization/src"))

View file

@ -0,0 +1,5 @@
(env
(default
(flags :standard ":standard + in src")
(c_flags ())
(cxx_flags ())))

View file

@ -0,0 +1,5 @@
(env
(default
(flags :standard ":standard + in vendor/with-env-customization")
(c_flags ())
(cxx_flags ())))

View file

@ -0,0 +1,3 @@
(env
(default
(flags "in vendor/with-env-customization/src")))