Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
var dirs = %w(
|
||||
/home/user1/tmp/coverage/test
|
||||
/home/user1/tmp/covert/operator
|
||||
/home/user1/tmp/coven/members
|
||||
);
|
||||
|
||||
var unique_pref = dirs.map{.split('/')}.abbrev.min_by{.len};
|
||||
var common_dir = [unique_pref, unique_pref.pop][0].join('/');
|
||||
say common_dir; # => /home/user1/tmp
|
||||
Loading…
Add table
Add a link
Reference in a new issue