From 90c11bcae9049cb405dbb8a07972a2cc53a58f90 Mon Sep 17 00:00:00 2001 From: Kenta Sato Date: Sun, 19 Aug 2018 16:39:35 +0900 Subject: [PATCH] add document on JULIA_PROJECT environment variable (#28556) * add document on JULIA_PROJECT environment variable * wrap file names with backticks [ci skip] (cherry picked from commit 2805ebeb5b1da1d3933aa08514d50af034d031dd) --- doc/src/manual/environment-variables.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/src/manual/environment-variables.md b/doc/src/manual/environment-variables.md index b27ff27729afc..d38aa0f21a067 100644 --- a/doc/src/manual/environment-variables.md +++ b/doc/src/manual/environment-variables.md @@ -65,6 +65,15 @@ and a global configuration search path of /etc/julia/startup.jl ``` +### `JULIA_PROJECT` + +A directory path that points to the current Julia project. Setting this +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 +the chapter on [Code Loading](@ref). + ### `JULIA_LOAD_PATH` A separated list of absolute paths that are to be appended to the variable