Skip to content

Commit

Permalink
News and compat annotation for JuliaLang#29108 (current_project() / -…
Browse files Browse the repository at this point in the history
…-project=@.)
  • Loading branch information
mortenpi committed Dec 1, 2018
1 parent f7e026e commit 39051de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Standard library changes
* `parse(Bool, str)` is now supported ([#29997]).
* `copyto!(::AbstractMatrix, ::UniformScaling)` supports rectangular matrices now ([#28790]).
* In `put!(c::Channel{T}, v)`, `v` now gets converted to `T` as `put!` is being called ([#29092]).
* `current_project()` now also searched the parent directories of a Git repository for a `Project.toml` file. This also affects the behavior of the `--project` command line option when using the default `--project=@.` ([#29108]).

Compiler/Runtime improvements
-----------------------------
Expand Down
5 changes: 5 additions & 0 deletions doc/src/manual/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ julia [switches] -- [programfile] [args...]
|`--track-allocation={none\|user\|all}` |Count bytes allocated by each source line|
|`--track-allocation` |equivalent to `--track-allocation=user`|

!!! compat "Julia 1.1"
In Julia 1.0, the default `--project=@.` option did not search up from the root
directory of a Git repository for the `Project.toml` file. Starting from Julia 1.1, it
searches all the way up to the the root of the filesystem.

This comment has been minimized.

Copy link
@fredrikekre

fredrikekre Dec 1, 2018

Doesn't it bail on home directory?


## Resources

A curated list of useful learning resources to help new users get started can be found on the [learning](https://julialang.org/learning/) page of the main Julia web site.

0 comments on commit 39051de

Please sign in to comment.