Skip to content

Commit

Permalink
Merge pull request #2879 from pmqs/patch-2
Browse files Browse the repository at this point in the history
minor typo & grammar changes
  • Loading branch information
pmqs committed Jul 2, 2019
2 parents 5c8e873 + 6ee90ba commit c8b064e
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions doc/Language/modules.pod6
Expand Up @@ -622,15 +622,15 @@ into your own C<LICENSE> file.
=item The license field in META6.json
The license field should be one of the standardized names listed here:
L<https://spdx.org/licenses/>, in the case of the B<Artistic 2.0> license which
L<https://spdx.org/licenses/>. In the case of the B<Artistic 2.0> license, which
is what many of our ecosystem modules use, its identifier is
C<Artistic-2.0>. Having standardized identifiers make it easy for humans
and computers alike to know which license was actually used by looking at
the metadata!
=item I<Your license is not on spdx.org or you have your own license>:
If you can't find your license on C<spdx.org> or you use your own license,
you should put the licenses name in the license field, and under
you should put the license's name in the license field, and under
more details here L<https://design.perl6.org/S22.html#license>.
=item If you don't yet have any tests, you can leave out the C<t>
Expand Down Expand Up @@ -700,7 +700,7 @@ For choosing a version numbering scheme, try and use "major.minor.patch" (see
L<the spec on versioning|https://design.perl6.org/S11.html#Versioning> for
further details). This will go into the C<version> key of C<META6.json>. This
field is optional, but used by installation to match against installed version,
if there's any. The C<description> field is also mandatory, and includes a short
if one exists. The C<description> field is also mandatory, and includes a short
description of the module.
The C<name> key is compulsory, and C<zef> will fail if you do not include it.
Expand All @@ -727,21 +727,21 @@ supplied. This field is optional.
In the C<provides> section, include all the namespaces provided by your
distribution and that you wish to be installed; only module files that are
explicitly included here will be installed and available with C<use> or
C<require> in other programs. This field is also mandatory.
C<require> in other programs. This field is mandatory.
Set C<perl> version to the minimum perl version your module works with. This
field is mandatory. Use C<6.c> if your module is valid for Christmas release and
newer ones, use C<6.d> if it requires, at least, the Diwali version.
The C<resources> section is optional, but, if present, should contain a list
of the files in your C<resources> directory that you wish to be installed.
These will be installed with hashed names alongside your library files and
their installed location can be determined through the C<%?RESOURCES> C<Hash>
indexed on the name provided. C<tags> is also optional, but is used to describe
These will be installed with hashed names alongside your library files.
Their installed location can be determined through the C<%?RESOURCES> C<Hash>
indexed on the name provided. The C<tags> section is also optional. It is used to describe
the module in the Perl 6 ecosystem.
C<depends>, C<build-depends> and C<test-depends> include different modules that
are used in those phases of the of installation. All of them are optional, but
The C<depends>, C<build-depends> and C<test-depends> sections include different modules that
are used in those phases of the of installation. All are optional, but
they must obviously contain the modules that are going to be needed in those
particular phases. These dependencies might optionally use
L<C<Version>|/type/Version> specification strings; C<zef> will check for the
Expand Down Expand Up @@ -836,9 +836,10 @@ module source while developing it, so you don't have to install it at all).
Uploading a module to CPAN is the preferred way of distributing Perl 6 modules.
it requires having a L<PAUSE|https://pause.perl.org/>
user account. If you don't have an account already go there and apply for an
account. The process takes about 5 minutes and some e-mail back and forth.
A prerequisite for this is a L<PAUSE|https://pause.perl.org/>
user account. If you don't have an account already, you can create one
L<here|https://pause.perl.org/pause/query?ACTION=request_id>
The process takes about 5 minutes and some e-mail back and forth.
=begin item
Create a package of your module:
Expand Down

0 comments on commit c8b064e

Please sign in to comment.