Skip to content

Commit b168128

Browse files
committed
document local-lib more
1 parent 1a90a73 commit b168128

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,18 +264,30 @@ Commands
264264
* local-lib
265265

266266
Activates a local::lib directory. Without a parameter, creates a new
267-
local::lib directory and activates it. This can be valuable if you need to
267+
local::lib directory and activates it. This is used by `build-dist`
268+
for a `Dist::Zilla` distribution, and can be valuable if you need to
268269
isolate the prereqs you are installing from the core modules. Any parameters
269270
given are taken as names of [predefined local::libs](share/local-libs.txt) to
270271
load. For example, `local-lib dzil` can save a lot of time for Dist::Zilla
271-
based modules.
272+
based modules. If you specified a prebuilt local::lib there is no
273+
need to give it again. If you do want further local::libs, you can
274+
give them to this command and they will be downloaded if pre-built,
275+
or built if not, and added to the library path. This is taken care
276+
of by the `build-perl` step.
272277

273278
local::lib
274279
----------
275280
A number of [predefined local::lib](share/local-libs.txt) directories are
276281
available for use. Pre-built perl versions will also include pre-built
277282
local::lib directories. If there is no pre-built copy of the local::lib
278-
available, it will be built when requested.
283+
available, it will be built when requested. The list of available pre-built
284+
versions of Perl is available
285+
[here](https://github.com/travis-perl/builder/blob/master/.travis.yml). To
286+
use one of these, specify like this:
287+
288+
perl:
289+
- "5.6.2@moo"
290+
- "5.8.4@moo"
279291

280292
Notes
281293
-----

0 commit comments

Comments
 (0)