From 478c2d3f5d3dc82323a8084f659e05b92826c2bc Mon Sep 17 00:00:00 2001 From: Tobias Leich Date: Thu, 27 Feb 2014 21:55:03 +0100 Subject: [PATCH] the arg passed to build is not the project itself It is a string representing the current working diretory as of now, and it will be the same dir as an IO::Path in future. I decided to not specify any parameters because these are not used anyway. --- Build.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Build.pm b/Build.pm index c65c859..2a6442e 100644 --- a/Build.pm +++ b/Build.pm @@ -9,9 +9,7 @@ my $name = "Imlib2"; my $libs = "-Wl,--no-as-needed -lImlib2"; class Build is Panda::Builder { - method build(Pies::Project $p) { - my $workdir = $.resources.workdir($p); - + method build(|) { my $c_line = "$*VM -c $*VM $*VMsrc/$name$o " ~ "$*VM src/$name.c"; my $l_line = "$*VM $*VM $*VM "