do not index these secondary packages - they cannot be loaded independently
[p5sagit/Devel-REPL.git] / CONTRIBUTING
CommitLineData
e40eb4d8 1
2CONTRIBUTING
3
4Thank you for considering contributing to this distribution. This file
5contains instructions that will help you work with the source code.
6
7The distribution is managed with Dist::Zilla (https://metacpan.org/release/Dist-Zilla).
8This means than many of the usual files you might expect are not in the
9repository, but are generated at release time (e.g. Makefile.PL).
10
11However, you can run tests directly using the 'prove' tool:
12
13 $ prove -l
14 $ prove -lv t/some_test_file.t
15 $ prove -lvr t/
16
17In most cases, 'prove' is entirely sufficent for you to test any
18patches you have.
19
20You may need to satisfy some dependencies. The easiest way to satisfy
21dependencies is to install the last release -- this is available at
22https://metacpan.org/release/Devel-REPL.
23
24If you use cpanminus, you can do it without downloading the tarball first:
25
26 $ cpanm --reinstall --installdeps --with-recommends Devel::REPL
27
28Dist::Zilla is a very powerful authoring tool, but requires a number of
29author-specific plugins. If you would like to use it for contributing,
30install it from CPAN, then run one of the following commands, depending on
31your CPAN client:
32
33 $ cpan `dzil authordeps --missing`
34or
35 $ dzil authordeps --missing | cpanm
36
37You should then also install any additional requirements not needed by the
38dzil build but may be needed by tests or other development:
39
40 $ cpan `dzil listdeps --author --missing`
41or
42 $ dzil listdeps --author --missing | cpanm
43
44Or, you can use the 'dzil stale' command to install all requirements at once:
45
46 $ cpan Dist::Zilla::App::Command::stale
47 $ cpan `dzil stale --all`
48or
49 $ cpanm Dist::Zilla::App::Command::stale
50 $ dzil stale --all | cpanm
51
52You can also do this via cpanm directly:
53
54 $ cpanm --reinstall --installdeps --with-develop --with-recommends Devel::REPL
55
56Once installed, here are some dzil commands you might try:
57
58 $ dzil build
59 $ dzil test
60 $ dzil test --release
61 $ dzil xtest
62 $ dzil listdeps --json
63 $ dzil build --notgz
64
65You can learn more about Dist::Zilla at http://dzil.org/.
66
67
68If you have found a bug, but do not have an accompanying patch to fix it, you
69can submit an issue report here:
70https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-REPL
71or via bug-Devel-REPL@rt.cpan.org.
72This is a good place to send your questions about the usage of this distribution.
73
74
75This file was generated via Dist::Zilla::Plugin::GenerateFile::ShareDir 0.005 from a
76template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.065.