1 package Module::Install::WriteAll;
4 use Module::Install::Base ();
6 use vars qw{$VERSION @ISA $ISCORE};
9 @ISA = qw{Module::Install::Base};
23 $self->sign(1) if $args{sign};
24 $self->admin->WriteAll(%args) if $self->is_admin;
26 $self->check_nmake if $args{check_nmake};
27 unless ( $self->makemaker_args->{PL_FILES} ) {
28 $self->makemaker_args( PL_FILES => {} );
31 # Until ExtUtils::MakeMaker support MYMETA.yml, make sure
32 # we clean it up properly ourself.
33 $self->realclean_files('MYMETA.yml');
35 if ( $args{inline} ) {
38 $self->Makefile->write;
41 # The Makefile write process adds a couple of dependencies,
42 # so write the META.yml files after the Makefile.
47 # Experimental support for MYMETA
48 if ( $ENV{X_MYMETA} ) {
49 if ( $ENV{X_MYMETA} eq 'JSON' ) {
50 $self->Meta->write_mymeta_json;
52 $self->Meta->write_mymeta_yaml;