Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[Panda::Installer] Use 'make install' if makefile is available. Shoul…

…d fix GH-3
  • Loading branch information...
commit e898eb427735128992200e0614d08352f94de650 1 parent 60cbaa3
@tadzik authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/Panda/Installer.pm
View
5 lib/Panda/Installer.pm
@@ -9,6 +9,11 @@ class Panda::Installer does Pies::Installer {
method install(Pies::Project $p) {
indir $!resources.workdir($p), {
+ if 'Makefile'.IO ~~ :f {
+ run 'make install'
+ and die "'make install' failed for {$p.name}";
+ return;
+ }
if 'blib'.IO ~~ :d {
for find(dir => 'blib', type => 'file').list -> $i {
# .substr(5) to skip 'blib/'
Please sign in to comment.
Something went wrong with that request. Please try again.