why is dune telling me to delete this file?
dune build
Error: Multiple rules generated for
_build/default/lib/pages/footer/footers.ml:
- lib/pages/footer/dune:2
- file present in source tree
-> required by alias default
Hint: rm -f lib/pages/footer/footers.ml
make: *** [buildrun] Error 1
Error ^
(rule
(targets footers.ml)
(deps main_footer.eml.ml)
(action (run dream_eml %{deps} --workspace %{workspace_root})))
dune fule ^
this is set up no differently than my other modules, 1 .eml.ml file for the HTML, one .ml to hold the dynamic logic. Same dune file basically for all of them too. File names are correct here
heres an example dune file from a sister directory with the same file structure that does not give me this issue
(rule
(targets play_form.ml)
(deps play_form.eml.ml)
(action (run dream_eml %{deps} --workspace %{workspace_root})))
(rule
(targets lineguessr.ml)
(deps lineguessr.eml.ml)
(action (run dream_eml %{deps} --workspace %{workspace_root})))
cant find anything online about it
the parent dir dune file is the following, allowing these more basic dune files seen:
(include_subdirs unqualified)
(library
(libraries str curl base64 dream)
(name lib))
anyway, im unable to create any more modules, dune just tells me to delete them now, not sure why. none of the names collide with other modules either
im sure its something dumb though