Group
Extension

Matches 7

Minilla ( S/SK/SKAJI/Minilla-v3.1.28.tar.gz, SKAJI, 2025; MetaCPAN )
Minilla/lib/Minilla.pm ( view source; MetaCPAN )
date informations after that.

=head2 RegenerateFiles

In this step, minilla will regenerate META.json, README.md and (Makefile.PL|Build.PL).

=head2 RunHooks

This step runs commands listed on `relea
s variable.

=item no_index

    [no_index]
    directory=['t', 'xt', 'tools']

Minilla sets META.json's no_index as C<< directory => ['t', 'xt', 'inc', 'share', 'eg', 'examples', 'author', 'builder']
> constructor.

=item Metadata

    [Metadata]
    x_deprecated = 1

Add arbitrary keys to C<META.json>/C<META.yml>.

=item static_install

    static_install = "auto"

If C<static_install = "auto"> (
Minilla ( S/SK/SKAJI/Minilla-v3.1.28.tar.gz, SKAJI, 2025; MetaCPAN )
Minilla/lib/Minilla/CLI/Clean.pm ( view source; MetaCPAN )
     glob(sprintf("%s-*", $project->dist_name)),
        'blib',
        'Build',
        'MYMETA.json',
        'MYMETA.yml',
        '_build_params',
        '_build',       # M::B
        'Makefile
Minilla ( S/SK/SKAJI/Minilla-v3.1.28.tar.gz, SKAJI, 2025; MetaCPAN )
Minilla/lib/Minilla/Project.pm ( view source; MetaCPAN )
lf->main_module_path;
}

sub regenerate_files {
    my $self = shift;

    $self->regenerate_meta_json();
    $self->regenerate_readme_md();
    $self->module_maker->generate($self);
    if (Cwd::getc
lf);
    }
}

sub regenerate_meta_json {
    my $self = shift;

    my $meta = $self->cpan_meta('unstable');
    $meta->save(File::Spec->catfile($self->dir, 'META.json'), {
        version => '2.0'
  
Minilla ( S/SK/SKAJI/Minilla-v3.1.28.tar.gz, SKAJI, 2025; MetaCPAN )
Minilla/lib/Minilla/Migrate.pm ( view source; MetaCPAN )
detected. I hope META.json is already exists here\n");
            $metafile = 'META.json';
        } else {
            cmd_perl('Build.PL');
            $metafile = 'MYMETA.json';
        }
    } el
     cmd_perl('Makefile.PL');
        cmd($Config{make}, 'metafile');
        $metafile = 'MYMETA.json';
    } elsif (-f 'dist.ini') {
        my %orig = map { $_ => 1 } glob('*/META.yml');
        cm
T.SKIP.bak
        MANIFEST.bak
        README.pod
        META.yml
        README
        MYMETA.json
        MYMETA.yml
        inc/Module/Install.pm
    ), glob('inc/Module/Install/*.pm')) {
      
Minilla ( S/SK/SKAJI/Minilla-v3.1.28.tar.gz, SKAJI, 2025; MetaCPAN )
Minilla/lib/Minilla/Tutorial.pod ( view source; MetaCPAN )
version bump to be skipped by appending, `# No BumpVersion`.

This will update C<Changes>, C<META.json> and bump C<$VERSION> in your main module. These changes made by Minilla will be automatically co
figurations

Edit .gitignore and add the following lines:

    /Dist-Name-*
    /.build
    !META.json

You're almost done, and your directory will look like:

    cpanfile
    lib/Dist/Name.pm
    t/
so, new C<Build.PL>, C<META.json> and C<README.md> are added in your
working directory for git-friendliness. C<git add> them and commit it.

   > git add Build.PL META.json README.md && git commit -m 
Minilla ( S/SK/SKAJI/Minilla-v3.1.28.tar.gz, SKAJI, 2025; MetaCPAN )
Minilla/lib/Minilla/CLI/Migrate.pm ( view source; MetaCPAN )
cript like following shell script.

    # Generate META.json from Module::Build or EU::MM
    perl Build.PL

    # Create cpanfile from META.json
    mymeta-cpanfile > cpanfile

    # MANIFEST, MANIFE
EST MANIFEST.SKIP

    # generate META.json
    minil build
    git add -f META.json

    # remove META.json from ignored file list
    perl -i -pe 's!^META.json\n$!!' .gitignore
    echo '.build/' >>
Minilla ( S/SK/SKAJI/Minilla-v3.1.28.tar.gz, SKAJI, 2025; MetaCPAN )
Minilla/lib/Minilla/WorkDir.pm ( view source; MetaCPAN )
b _build_manifest_files {
    my $self = shift;
    my @files = (@{$self->files}, qw(LICENSE META.json META.yml MANIFEST));
    if (-f File::Spec->catfile($self->dir, 'Makefile.PL')) {
        push @f
      $meta->save('META.yml', {
            version => 1.4,
        });
        $meta->save('META.json', {
            version => 2.0,
        });
    }

    {
        infof("Writing MANIFEST file\n")

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.