Skip to content

Commit

Permalink
Bring META format closer to reality
Browse files Browse the repository at this point in the history
    * resource has been implemented differently
    * version literals should omit "v"
    * use proper JSON bool
  • Loading branch information
jonathanstowe committed May 2, 2016
1 parent 7bc7945 commit e094a61
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions S22-package-format.pod
Expand Up @@ -200,7 +200,7 @@ be:
Mandatory. The version literal for this distribution. An example of this
would be:

"version" : "v1.23"
"version" : "1.23"

=head3 description

Expand Down Expand Up @@ -365,15 +365,14 @@ example of this would be:
"Test:auth<cpan:OVID>"
]

=head3 resource
=head3 resources

Optional. A hash of resource groups, each of them corresponding to a
directory in the "resource" directory in the distribution. Each resource
group has a name and a list of files that are provided. At build time any
not-yet existing files should be created. The installer will install all
files into a location at its discretion (taking care of file-system
case-insensitivity and Unicode-support issues), and make the files available
through the L</%?RESOURCE> hash.
Optional. A list of file names, each of them corresponding to a file
in the "resources" directory in the distribution. At build time any
not-yet existing files should be created. The installer will install
all files into a location at its discretion (taking care of file-system
case-insensitivity and Unicode-support issues), and make the files
available through the L</%?RESOURCES> hash.

=head3 support

Expand Down Expand Up @@ -415,7 +414,7 @@ used with queries about this distribution.
Optional. A Boolean to indicate whether or not this is a distribution intended
to be used in production. For instance:

"production" : 1
"production" : true

By default, a distribution is not ready for production. If a distribution
is not ready for production, then it will never be recommended.
Expand Down

0 comments on commit e094a61

Please sign in to comment.