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,8 @@
(include_subdirs qualified)
(library
(name foolib)
(preprocess
(per_module
((action
(run cat %{input-file})) bar/ppme))))

View file

@ -0,0 +1 @@
module Bar = Bar.Ppme

View file

@ -0,0 +1,10 @@
We can set preprocessing options for nested modules
$ dune build @all
File "dune", line 8, characters 30-38:
8 | (run cat %{input-file})) bar/ppme))))
^^^^^^^^
Error: "bar/ppme" is an invalid module name.
Module names must be non-empty, start with a letter, and composed only of the
following characters: 'A'..'Z', 'a'..'z', '_', ''' or '0'..'9'.
Hint: barppme would be a correct module name
[1]