• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/File/ShareDir/H14-Jan-2013-16051

t/H14-Jan-2013-186144

xt/release/H14-Jan-2013-95

AUTHOR_PLEDGEH A D14-Jan-2013581 148

Build.PLH A D14-Jan-2013980 4638

ChangesH A D14-Jan-2013501 2215

INSTALLH A D14-Jan-20131 KiB4524

LICENSEH A D14-Jan-201317.9 KiB380292

MANIFESTH A D14-Jan-2013263 1918

META.jsonH A D14-Jan-20132 KiB7977

META.ymlH A D14-Jan-20131 KiB4140

READMEH A D14-Jan-20131.7 KiB5540

README.mkdnH A D14-Jan-20132.2 KiB6940

SIGNATUREH A D14-Jan-20131.7 KiB4134

README

1NAME
2    File::ShareDir::Tarball - Deal transparently with shared files
3    distributed as tarballs
4
5VERSION
6    version 0.2.2
7
8SYNOPSIS
9        use File::ShareDir::Tarball ':all';
10
11        # use exactly like File::ShareDir
12        $dir = dist_dir('File-ShareDir');
13
14DESCRIPTION
15    If the shared files of a distribution are contained in a tarball (see
16    Dist::Zilla::Plugin::ShareDir::Tarball for why you would want to do
17    that), automatically extract the archive in a temporary directory and
18    return the path to that directory. If called for a regular distribution
19    without a bundle file ("shared-files.tar.gz"), it'll return the original
20    shared dir. In other words, from the consumer point of view, it'll
21    behave just like File::ShareDir.
22
23EXPORT TAGS
24  :all
25    Exports "dist_dir()" and "dist_file()".
26
27EXPORTABLE FUNCTIONS
28  dist_dir( $distribution )
29    Behaves just like "dist_dir()" from File::ShareDir.
30
31  dist_file( $distribution, $file )
32    Behaves just like "dist_file()" from File::ShareDir.
33
34SEE ALSO
35    Test::File::ShareDir
36        To test or use a shared dir that is not deployed yet.
37
38    Dist::Zilla::Plugin::ShareDir::Tarball
39        Dist::Zilla plugin to create the tarball effortlessly.
40
41    Module::Build::CleanInstall
42        Provides an alternative to this module by subclassing Module::Build
43        and, upon installation, remove the files from previous installations
44        as given in the *packlist*.
45
46AUTHOR
47    Yanick Champoux <yanick@babyl.dyndns.org>
48
49COPYRIGHT AND LICENSE
50    This software is copyright (c) 2012 by Yanick Champoux.
51
52    This is free software; you can redistribute it and/or modify it under
53    the same terms as the Perl 5 programming language system itself.
54
55

README.mkdn

1# NAME
2
3File::ShareDir::Tarball - Deal transparently with shared files distributed as tarballs
4
5# VERSION
6
7version 0.2.2
8
9# SYNOPSIS
10
11    use File::ShareDir::Tarball ':all';
12
13    # use exactly like File::ShareDir
14    $dir = dist_dir('File-ShareDir');
15
16# DESCRIPTION
17
18If the shared files of a distribution are contained in a
19tarball (see [Dist::Zilla::Plugin::ShareDir::Tarball](http://search.cpan.org/perldoc?Dist::Zilla::Plugin::ShareDir::Tarball) for
20why you would want to do that), automatically
21extract the archive in a temporary
22directory and return the path to that directory. If called for a regular distribution without a bundle file
23(`shared-files.tar.gz`), it'll return the original shared dir.
24In other words,
25from the consumer point of view, it'll behave just like [File::ShareDir](http://search.cpan.org/perldoc?File::ShareDir).
26
27# EXPORT TAGS
28
29## :all
30
31Exports `dist_dir()` and `dist_file()`.
32
33# EXPORTABLE FUNCTIONS
34
35## dist\_dir( $distribution )
36
37Behaves just like `dist_dir()` from [File::ShareDir](http://search.cpan.org/perldoc?File::ShareDir).
38
39## dist\_file( $distribution, $file )
40
41Behaves just like `dist_file()` from [File::ShareDir](http://search.cpan.org/perldoc?File::ShareDir).
42
43# SEE ALSO
44
45- [Test::File::ShareDir](http://search.cpan.org/perldoc?Test::File::ShareDir)
46
47To test or use a shared dir that is not deployed yet.
48
49- [Dist::Zilla::Plugin::ShareDir::Tarball](http://search.cpan.org/perldoc?Dist::Zilla::Plugin::ShareDir::Tarball)
50
51[Dist::Zilla](http://search.cpan.org/perldoc?Dist::Zilla) plugin to create the tarball effortlessly.
52
53- [Module::Build::CleanInstall](http://search.cpan.org/perldoc?Module::Build::CleanInstall)
54
55Provides an alternative to this module by subclassing [Module::Build](http://search.cpan.org/perldoc?Module::Build) and,
56upon installation, remove the files from previous installations as given in
57the _packlist_.
58
59# AUTHOR
60
61Yanick Champoux <yanick@babyl.dyndns.org> [![endorse](http://api.coderwall.com/yanick/endorsecount.png)](http://coderwall.com/yanick)
62
63# COPYRIGHT AND LICENSE
64
65This software is copyright (c) 2012 by Yanick Champoux.
66
67This is free software; you can redistribute it and/or modify it under
68the same terms as the Perl 5 programming language system itself.
69