NAME
Dist::Zilla::Plugin::Web::PkgVersion - Embedd module version to sources
VERSION
version 0.0.10
SYNOPSIS
In your dist.ini:
[Web::PkgVersion]
file_match = ^lib/.*\.js$           ; default, regex for file names to process 
file_match = ^lib/.*\.css$          ; allow several values
excelude_match = ^lib/special.css$  ; default, regex for file names to exclude 
                                    ; from processing
excelude_match = ^lib/donotinclude.css$  ; allow several values
In your sources:
Class('Digest.MD5', {
    
    /*VERSION,*/
    
    has : {
        ...
    }
})
Class('Digest.MD5', {
    /*VERSION*/
})
will become after build:
Class('Digest.MD5', {
    
    VERSION : 0.01,
     
    has : {
        ...
    }
})
Class('Digest.MD5', {
    VERSION : 0.01
})
DESCRIPTION
This plugin will process the files in your distribution, matching any of the "file_match" regular expressions. Files matching any of the "excelude_match" regular expression will not be processed.
Processing will mean the following: this plugin will replace the
/*VERSION*/
/*VERSION,*/ 
placeholders with the distribution version.
AUTHOR
Nickolay Platonov <nplatonov@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Nickolay Platonov.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.