Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion fpm/src/fpm/manifest/package.f90
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
! [dev-dependencies]
! [[executable]]
! [[test]]
! [build]
! [extra]
! ```
module fpm_manifest_package
use fpm_manifest_build_config, only: build_config_t, new_build_config
Expand Down Expand Up @@ -209,7 +211,7 @@ subroutine check(table, error)
case("version", "license", "author", "maintainer", "copyright", &
& "description", "keywords", "categories", "homepage", "build", &
& "dependencies", "dev-dependencies", "test", "executable", &
& "library")
& "library", "extra")
continue

end select
Expand Down
10 changes: 10 additions & 0 deletions manifest-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ Every manifest file consists of the following sections:
Project library dependencies
- [*dev-dependencies*](#development-dependencies):
Dependencies only needed for tests
- [*extra*](#additional-information):
Free manifest section for additional information

[TOML]: https://toml.io/

Expand Down Expand Up @@ -359,3 +361,11 @@ rev = "2f5eaba864ff630ba0c3791126a3f811b6e437f3"
### Development dependencies

Development dependencies allow to declare *dev-dependencies* in the manifest root, which are available to all tests but not exported with the project.


## Additional information

The manifest also allows to specify additional information in the *extra* section.
This section is not subject to any constraints by fpm and not used by fpm for any purpose.
Third party tools can store additional information here.
Also, the fpm registry can use this section to stage new entries for the manifest.