diff options
| -rw-r--r-- | challenge-001/paulo-custodio/go.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/challenge-001/paulo-custodio/go.pl b/challenge-001/paulo-custodio/go.pl index d4639380d3..411a8c107a 100644 --- a/challenge-001/paulo-custodio/go.pl +++ b/challenge-001/paulo-custodio/go.pl @@ -27,5 +27,10 @@ for my $dir (qw( path("challenge-$nr/paulo-custodio/$dir")->mkpath; } path("challenge-$nr/paulo-custodio/README")->spew("Solution by Paulo Custodio\n"); +if (! -f "challenge-$nr/paulo-custodio/Makefile") { + path("challenge-$nr/paulo-custodio/Makefile")->spew( + "all:\n\tperl ../../challenge-001/paulo-custodio/test.pl\n"); +} + chdir("challenge-$nr/paulo-custodio"); system("bash"); |
