Alien-premake5

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

    system($build->runtime_prop->{command}, '--version');
  });

  my ($version) = $stdout =~ /premake5 \(.*\) ([0-9.]+(?:-[a-z0-9]+)?)/;
  $build->runtime_prop->{version} = $version || 'unknown';
};

sub build_from_source {
  my ($build, $executable) = @_;

  my $platform = 'unix';
  for ($^O) {
    $platform = 'macosx'  if /darwin/;
    $platform = 'bsd'     if /bsd/;
    $platform = 'windows' if /MSWin32/;
  }

  # Somehow changing directory with A::B's 'cd'
  # does not work in this case. 'No such directory', it says.
  my $src_dir = Path::Tiny::path( $build->install_prop->{extract} )
    ->child('build', "gmake.$platform");



( run in 0.671 second using v1.01-cache-2.11-cpan-39bf76dae61 )