You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/artifacts.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -230,7 +230,7 @@ This is deduced automatically by the `artifacts""` string macro, however, if you
230
230
!!! compat "Julia 1.7"
231
231
Pkg's extended platform selection requires at least Julia 1.7, and is considered experimental.
232
232
233
-
New in Julia 1.6, `Platform` objects can have extended attributes applied to them, allowing artifacts to be tagged with things such as CUDA driver version compatibility, microarchitectural compatibility, julia version compatibility and more!
233
+
New in Julia 1.7, `Platform` objects can have extended attributes applied to them, allowing artifacts to be tagged with things such as CUDA driver version compatibility, microarchitectural compatibility, julia version compatibility and more!
234
234
Note that this feature is considered experimental and may change in the future.
235
235
If you as a package developer find yourself needing this feature, please get in contact with us so it can evolve for the benefit of the whole ecosystem.
236
236
In order to support artifact selection at `Pkg.add()` time, `Pkg` will run the specially-named file `<project_root>/.pkg/select_artifacts.jl`, passing the current platform triplet as the first argument.
Copy file name to clipboardExpand all lines: docs/src/environments.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ The following discusses Pkg's interaction with environments. For more on the rol
4
4
5
5
## Creating your own environments
6
6
7
-
So far we have added packages to the default environment at `~/.julia/environments/v1.9`. It is however easy to create other, independent, projects.
7
+
So far we have added packages to the default environment at `~/.julia/environments/v1.10`. It is however easy to create other, independent, projects.
8
8
This approach has the benefit of allowing you to check in a `Project.toml`, and even a `Manifest.toml` if you wish, into version control (e.g. git) alongside your code.
9
9
It should be pointed out that when two projects use the same package at the same version, the content of this package is not duplicated.
10
10
In order to create a new project, create a directory for it and then activate that directory to make it the "active project", which package operations manipulate:
@@ -117,12 +117,12 @@ between several incompatible packages.
117
117
118
118
## Shared environments
119
119
120
-
A "shared" environment is simply an environment that exists in `~/.julia/environments`. The default `v1.9` environment is
120
+
A "shared" environment is simply an environment that exists in `~/.julia/environments`. The default `v1.10` environment is
121
121
therefore a shared environment:
122
122
123
123
```julia-repl
124
124
(@v1.10) pkg> st
125
-
Status `~/.julia/environments/v1.9/Project.toml`
125
+
Status `~/.julia/environments/v1.10/Project.toml`
126
126
```
127
127
128
128
Shared environments can be activated with the `--shared` flag to `activate`:
Copy file name to clipboardExpand all lines: docs/src/toml-files.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ are described below.
24
24
25
25
For a package, the optional `authors` field is a TOML array describing the package authors.
26
26
Entries in the array can either be a string in the form `"NAME"` or `"NAME <EMAIL>"`, or a table keys following the [Citation File Format schema](https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md) for either a
27
-
[`person`](https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md#definitionsperson) or an[`entity`](https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md#definitionsentity).
27
+
[`person`](https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md#definitionsperson) or an[`entity`](https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md#definitionsentity).
28
28
29
29
For example:
30
30
```toml
@@ -130,7 +130,7 @@ handled by Pkg operations such as `add`.
130
130
131
131
### The `[sources]` section
132
132
133
-
Specifiying a path or repo (+ branch) for a dependency is done in the `[sources]` section.
133
+
Specifying a path or repo (+ branch) for a dependency is done in the `[sources]` section.
134
134
These are especially useful for controlling unregistered dependencies without having to bundle a
0 commit comments