aboutsummaryrefslogtreecommitdiff
path: root/lib/App/Rakumod/Bin.rakumod
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/Rakumod/Bin.rakumod')
-rw-r--r--lib/App/Rakumod/Bin.rakumod6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/App/Rakumod/Bin.rakumod b/lib/App/Rakumod/Bin.rakumod
index a1b3bf7..6e04c1c 100644
--- a/lib/App/Rakumod/Bin.rakumod
+++ b/lib/App/Rakumod/Bin.rakumod
@@ -205,10 +205,14 @@ multi sub MAIN (
# Include the bare minimum
my @files = (
|%meta<provides>.values,
- |%meta<resources>.map({ "resources/$_" }),
'META6.json',
);
+ # Include resources, if they exist
+ with (%meta<resources>) {
+ @files.append($_.map({ "resources/$_" }))
+ }
+
# Include tests, if they exist
if ($meta-file.parent.add('t').d) {
my @tests = $meta-file.parent.add('t');