File tree 4 files changed +10
-3
lines changed
4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 83
83
CF_EMAIL : ${{ secrets.CF_EMAIL }}
84
84
run : |
85
85
ls -la
86
- wget https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-ShareDir-1.118.tar.gz
87
86
apperlm install-build-deps -p perl5 -c cosmopolitan
88
87
apperlm init --name ${{ matrix.config }}
89
88
apperlm list
Original file line number Diff line number Diff line change @@ -73,4 +73,7 @@ apperl-project.json
73
73
\.com(\.dbg)?$
74
74
^tests_temp
75
75
^.apperl
76
- ^Perl-Dist-APPerl-v
76
+ ^Perl-Dist-APPerl-v
77
+
78
+ #Avoid cpanfile
79
+ cpanfile
Original file line number Diff line number Diff line change
1
+ requires ' File::ShareDir::Install' , ' 0.13'
2
+ requires ' File::ShareDir' , ' 0'
Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ use constant {
40
40
my $thispath = abs_path(__FILE__ );
41
41
defined ($thispath ) or die (__FILE__ .' issues?' );
42
42
my $sharedir = dirname($thispath )." /../../../share" ;
43
+ if (! -d $sharedir ) {
44
+ $sharedir = ' /zip/lib/perl5/auto/share/dist/Perl-Dist-APPerl' ;
45
+ }
43
46
if (! -d $sharedir ) {
44
47
eval " use File::ShareDir; 1" or die " Failed to load File::ShareDir" ;
45
48
$sharedir = File::ShareDir::dist_dir(' Perl-Dist-APPerl' );
@@ -708,7 +711,7 @@ my %defconfig = (
708
711
dest => ' perl.com' ,
709
712
perl_url => ' https://github.com/Perl/perl5/archive/refs/tags/v5.36.3.tar.gz' ,
710
713
patches => [' __sharedir__/5.36-cosmo3.patch' , ' __sharedir__/5.36-cosmo-apperl.patch' ],
711
- install_modules => [' File-ShareDir-1.118.tar.gz ' ],
714
+ install_modules => [],
712
715
},
713
716
' small' => {
714
717
desc => ' moving target: small' ,
You can’t perform that action at this time.
0 commit comments