forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return [result] from [Workspace_root.create] (ocaml#10894)
This makes it possible to check whether the user is currently inside a dune project. This is needed for dev-tools to have fallback behaviour when run outside of a dune project which is necessary to allow users to configure their editors to invoke dev-tools via dune. For example, if a user configures their editor to start ocamllsp with the command `dune ocamllsp`, dune needs to be able to handle the case where the user edits an ocaml file outside of a dune project, for example by attempting to invoke ocamllsp from PATH. Signed-off-by: Stephen Sherratt <[email protected]>
- Loading branch information
1 parent
008d281
commit 5d328fd
Showing
4 changed files
with
40 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters