-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project initalized with init exec
does not build (cannot find root)
#5460
Comments
I had this issue, and solved by add file |
I think this may be a design bug? But I think it also agrees with the documentation and the intended design of |
So there’s maybe a documentation/usability issue here. The title of this issue suggests that that the user thought I’ve never been in favor of the current CLI design around this, and if users keep having this confusion you might consider adopting a more conventional structure of the interface (as I advocated for here, for instance: #159 (comment)) |
@gasche has some useful suggestions about how to change the behavior around |
It seems a lot of discussions have already append on this topic, I'm not able to get all the propositions and counter-arguments. But it seems some complications ( |
It seems like we haven't put much thought into dune init post the simplification of root detection. This is only an issue since 3.0 because we now require the root to be explicitly marked somehow. I'm fine with making dune init always create the root at cwd with any template. |
Duplicate of #5429. Let's continue the discussion there. |
I'm reopening this one because #5429 is not really a duplicate. |
After discussion, I think the current UI is not great because Do we agree that at most we want the users to be able to create a repository with those characteristics?
We could support more but at the cost of simplicity in the commands. The advantage:
Finally the commands should be more verbose:
For the problem at hand:
(If possible I would prefer that |
@gridbugs I believe you fixed this? |
No the related bug I fixed was that running |
Expected Behavior
A build
Actual Behavior
Reproduction
See commands above
Specifications
dune
(output ofdune --version
): 3.0.2ocaml
(output ofocamlc --version
): 4.13.1The text was updated successfully, but these errors were encountered: