Skip to content
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

add document on JULIA_PROJECT environment variable #28556

Merged
merged 2 commits into from
Aug 19, 2018

Conversation

bicycle1885
Copy link
Member

@bicycle1885 bicycle1885 commented Aug 10, 2018

This adds a description on JULIA_PROJECT environment variable, which is yet documented anywhere but would be a standard way to set the current Julia project. I read its behavior from the source code and so my understanding may be wrong.

environment variable has the same effect as specifying the `--project` start-up
option, but `--project` has higher precedence. If the variable is set to `@.`,
Julia tries to find a project directory that contains Project.toml or
JuliaProject.toml file from the current directory and its parents. See also
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest wraping the toml filenames in backticks, to match the convention used in this document for paths.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Fixed.

@kshyatt kshyatt added docs This change adds or pertains to documentation backport pending 1.0 labels Aug 13, 2018
@StefanKarpinski StefanKarpinski self-assigned this Aug 14, 2018
@bicycle1885
Copy link
Member Author

This small pull request is not merged yet 😕. Are there any problems in this change?

@KristofferC KristofferC merged commit 2805ebe into JuliaLang:master Aug 19, 2018
@KristofferC
Copy link
Member

Was waiting for assigned reviewer to review but been long enough and LGTM.

@bicycle1885 bicycle1885 deleted the julia-project branch August 19, 2018 08:42
KristofferC pushed a commit that referenced this pull request Aug 19, 2018
* add document on JULIA_PROJECT environment variable

* wrap file names with backticks [ci skip]

(cherry picked from commit 2805ebe)
KristofferC pushed a commit that referenced this pull request Aug 19, 2018
* add document on JULIA_PROJECT environment variable

* wrap file names with backticks [ci skip]

(cherry picked from commit 2805ebe)
@KristofferC KristofferC mentioned this pull request Aug 19, 2018
KristofferC pushed a commit that referenced this pull request Aug 19, 2018
* add document on JULIA_PROJECT environment variable

* wrap file names with backticks [ci skip]

(cherry picked from commit 2805ebe)
KristofferC pushed a commit that referenced this pull request Sep 8, 2018
* add document on JULIA_PROJECT environment variable

* wrap file names with backticks [ci skip]

(cherry picked from commit 2805ebe)
KristofferC pushed a commit that referenced this pull request Sep 8, 2018
* add document on JULIA_PROJECT environment variable

* wrap file names with backticks [ci skip]

(cherry picked from commit 2805ebe)
KristofferC pushed a commit that referenced this pull request Feb 11, 2019
* add document on JULIA_PROJECT environment variable

* wrap file names with backticks [ci skip]

(cherry picked from commit 2805ebe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants