We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0532012 commit f170b7bCopy full SHA for f170b7b
maintenance/long-term-storage.p6
@@ -19,7 +19,10 @@ use File::Directory::Tree;
19
20
my \WORKING-DIRECTORY = ‘.’; # TODO not supported yet
21
enum Project <Rakudo-Moar Rakudo-JVM Rakudo-JS MoarVM>;
22
-my \PROJECT = Rakudo-Moar;
+my \PROJECT = do given @*ARGS[0] // ‘’ {
23
+ when /:i ^‘moarvm’$ / { MoarVM }
24
+ default { Rakudo-Moar }
25
+}
26
my \DIR-BASE = PROJECT.lc;
27
my \BUILDS-LOCATION = “/tmp/whateverable/{DIR-BASE}”;
28
my \ARCHIVES-LOCATION = “{WORKING-DIRECTORY}/builds/{DIR-BASE}”.IO.absolute;
0 commit comments