Fairly new to OCaml still. Reading the quickstart I’ve always just done as they say (as in my title), but it always feel like added friction to not be able to initialize a project in place. So I’m curious why I have to specify a subdir for dune projects.
For context: I find that I’m usually creating a repo on github, cloning it down, and then trying to initialize my dune project. This usually ends up with me running dune init proj MY_PROJ
inside my git repo, which creates a subdirectory of the same name as the repo. Then I just copy the contents up to my git repos root, and delete the now empty MY_PROJ/
It would be sweet if it worked like nix flake init
I’d love to hear what the intended workflow is here and maybe why its the way it is. If the answer is “thats just the way it is” I might be motivated to take this to a github issue, but I’d like some noob-check validation here I suppose…
3 posts - 2 participants