Skip to content
Browse files

Added an option to install multiple modules at once

  • Loading branch information...
1 parent ff7922a commit 0a89bb6bf27109db5c5501154a8ce665822dd646 @tadzik committed Jan 8, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −0 README
  2. +2 −2 bin/neutro
View
1 README
@@ -15,4 +15,5 @@ Usage:
neutro update
neutro list
neutro perl6-Acme-Meow # install perl6-Acme-Meow from the module ecosystem
+neutro ufo json # install multiple modules in one go
neutro . # install a module in the current directory
View
4 bin/neutro
@@ -212,15 +212,15 @@ multi MAIN ('update') {
updatedb;
}
-multi MAIN ($module,
+multi MAIN (*@modules where { +@modules },
Bool :$strict = False,
Bool :$v = False,
Bool :$notest = False) {
checklist;
$STRICT = $strict;
$VERBOSE = $v;
$NOTEST = $notest;
- install $module;
+ @modules».&install;
}
# vim: ft=perl6

0 comments on commit 0a89bb6

Please sign in to comment.
Something went wrong with that request. Please try again.