2 package Module::Install::WriteAll;
5 use Module::Install::Base ();
7 use vars qw{$VERSION @ISA $ISCORE};
10 @ISA = qw{Module::Install::Base};
24 $self->sign(1) if $args{sign};
25 $self->admin->WriteAll(%args) if $self->is_admin;
27 $self->check_nmake if $args{check_nmake};
28 unless ( $self->makemaker_args->{PL_FILES} ) {
29 $self->makemaker_args( PL_FILES => {} );
32 # Until ExtUtils::MakeMaker support MYMETA.yml, make sure
33 # we clean it up properly ourself.
34 $self->realclean_files('MYMETA.yml');
36 if ( $args{inline} ) {
39 $self->Makefile->write;
42 # The Makefile write process adds a couple of dependencies,
43 # so write the META.yml files after the Makefile.
48 # Experimental support for MYMETA
49 if ( $ENV{X_MYMETA} ) {
50 if ( $ENV{X_MYMETA} eq 'JSON' ) {
51 $self->Meta->write_mymeta_json;
53 $self->Meta->write_mymeta_yaml;