Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
lib/File/ShareDir/ | H | 14-Jan-2013 | - | 160 | 51 | |
t/ | H | 14-Jan-2013 | - | 186 | 144 | |
xt/release/ | H | 14-Jan-2013 | - | 9 | 5 | |
AUTHOR_PLEDGE | H A D | 14-Jan-2013 | 581 | 14 | 8 | |
Build.PL | H A D | 14-Jan-2013 | 980 | 46 | 38 | |
Changes | H A D | 14-Jan-2013 | 501 | 22 | 15 | |
INSTALL | H A D | 14-Jan-2013 | 1 KiB | 45 | 24 | |
LICENSE | H A D | 14-Jan-2013 | 17.9 KiB | 380 | 292 | |
MANIFEST | H A D | 14-Jan-2013 | 263 | 19 | 18 | |
META.json | H A D | 14-Jan-2013 | 2 KiB | 79 | 77 | |
META.yml | H A D | 14-Jan-2013 | 1 KiB | 41 | 40 | |
README | H A D | 14-Jan-2013 | 1.7 KiB | 55 | 40 | |
README.mkdn | H A D | 14-Jan-2013 | 2.2 KiB | 69 | 40 | |
SIGNATURE | H A D | 14-Jan-2013 | 1.7 KiB | 41 | 34 |
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