Skip to content

Commit

Permalink
Revert to singular target
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle authored Jul 3, 2023
1 parent 15961e9 commit 96a3dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/creating-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ load when the package is tested).
!!! note
The exact interaction between `Project.toml`, `test/Project.toml` and their corresponding
`Manifest.toml`s are not fully worked out and may be subject to change in future versions.
The old method of adding test-specific dependencies, which relies on `targets`, will
The old method of adding test-specific dependencies, which relies on `target`, will
therefore be supported throughout all Julia 1.X releases.

#### `targets`-based test-specific dependencies
#### `target`-based test-specific dependencies

Using this method of adding test-specific dependencies, the packages are added under an `[extras]` section and to a test target,
e.g. to add `Markdown` and `Test` as test dependencies, add the following:
Expand Down

0 comments on commit 96a3dcf

Please sign in to comment.