From 3138afab1ae0e0cd8d7b9c0a829e4f2f1bba91a5 Mon Sep 17 00:00:00 2001 From: Paulo Custodio Date: Wed, 3 Nov 2021 16:10:36 +0000 Subject: Create test Makefile --- challenge-001/paulo-custodio/go.pl | 5 +++++ 1 file changed, 5 insertions(+) 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"); -- cgit