raku-community-modules / DateTime-TimeZone

A Raku library for working with Time Zones
https://raku.land/zef:raku-community-modules/DateTime::TimeZone
Artistic License 2.0
4 stars 7 forks source link

Fix missing TZ modules #13

Closed zostay closed 7 years ago

zostay commented 7 years ago

When installing with zef, most of the modules do not get installed because the "provides" section of META6.json is empty of all but one file. This should correct the problem.

This is built on the META6.json patch from @zoffixznet to avoid conflicts with it.

zostay commented 7 years ago

The changes were generated with this script:

perl6 -MMETA6 -e 'my $m = META6.new(:file<META6.json>);my @d = dir("lib"); while @d.shift -> $f { if $f.d { @d.append: dir($f); next; }; my $p = $f.substr(4); $p ~~ s/'.pm6'$//; $p ~~ s:g/"/"/::/; $m.provides{$p} = "$f" }; spurt("META6.json", $m.to-json)'