Basic initial support for perl.
This commit is contained in:
parent
6a4fecc044
commit
d9c1c94296
|
@ -95,6 +95,12 @@ module Qwandry
|
||||||
add :gem, path
|
add :gem, path
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Add perl repositories:
|
||||||
|
perl_paths = `perl -e 'foreach $k (@INC){print $k,"\n";}'` rescue ''
|
||||||
|
perl_paths.split("\n").reject{|path| path == '' || path == '.'}.each do |path|
|
||||||
|
add :perl, path, :class=>Qwandry::LibraryRepository
|
||||||
|
end
|
||||||
|
|
||||||
activate :ruby, :gem
|
activate :ruby, :gem
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue