-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(init): correct behavior of PATH argument for
dune init project
(#…
- Loading branch information
Showing
6 changed files
with
99 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Fix handling of the `PATH` argument to `dune init proj NAME PATH`. An | ||
intermediate directory called `NAME` is no longer created if `PATH` is | ||
supplied, so `dune init proj my_project .` will now initialize a project in | ||
the current working directory. (#9447, fixes #9209, @shonfeder) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
$ dune init project name $PWD 2>&1 | head -n 8 | ||
Entering directory 'name' | ||
Internal error, please report upstream including the contents of _build/log. | ||
Description: | ||
("[as_in_source_tree_exn] called on something not in source tree", | ||
{ t = | ||
External | ||
"$TESTCASE_ROOT" | ||
}) | ||
Raised at Stdune__Code_error.raise in file |