Skip to content

Commit

Permalink
Add digest
Browse files Browse the repository at this point in the history
  • Loading branch information
voegelas committed Jul 27, 2023
1 parent 879402a commit 5f61842
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ install:
- cpanm --quiet --notest --installdeps .

build_script:
- set ALIEN_DOWNLOAD_RULE=digest
- perl Makefile.PL
- gmake

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
cpanm --quiet --notest --installdeps .
- name: Run tests
run: |
$env:ALIEN_DOWNLOAD_RULE = 'digest'
perl Makefile.PL
make test
3 changes: 2 additions & 1 deletion META.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
},
"configure" : {
"requires" : {
"Alien::Build" : "1.19",
"Alien::Build" : "2.57",
"Alien::Build::MM" : "0.32",
"Alien::Build::Plugin::Digest::Negotiate" : "0",
"ExtUtils::MakeMaker" : "6.52"
}
},
Expand Down
3 changes: 2 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ my %WriteMakefileArgs = (
"Path::Tiny" => "0.077"
},
"CONFIGURE_REQUIRES" => {
"Alien::Build" => "1.19",
"Alien::Build" => "2.57",
"Alien::Build::MM" => "0.32",
"Alien::Build::Plugin::Digest::Negotiate" => 0,
"ExtUtils::MakeMaker" => "6.52"
},
"DISTNAME" => "Alien-libmaxminddb",
Expand Down
1 change: 1 addition & 0 deletions alienfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugin 'PkgConfig' => 'libmaxminddb';

share {
start_url 'https://github.com/maxmind/libmaxminddb/releases/download/1.7.1/libmaxminddb-1.7.1.tar.gz';
digest SHA256 => 'e8414f0dedcecbc1f6c31cb65cd81650952ab0677a4d8c49cab603b3b8fb083e';
plugin 'Download';
plugin 'Extract' => 'tar.gz';
plugin 'Build::Autoconf';
Expand Down
3 changes: 2 additions & 1 deletion cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ on 'test' => sub {
};

on 'configure' => sub {
requires "Alien::Build" => "1.19";
requires "Alien::Build" => "2.57";
requires "Alien::Build::MM" => "0.32";
requires "Alien::Build::Plugin::Digest::Negotiate" => "0";
requires "ExtUtils::MakeMaker" => "6.52";
};

Expand Down

0 comments on commit 5f61842

Please sign in to comment.