Merge pull request #1081 from duckduckgo/zach/dzil-buildshareassets
Update for BuildShareAssetsmaster
commit
a3a9ccfecc
10
.travis.yml
10
.travis.yml
|
@ -8,14 +8,12 @@ before_install:
|
|||
- git config --global user.name "Dist Zilla Plugin TravisCI"
|
||||
- git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"
|
||||
install:
|
||||
- cpanm --quiet --notest --skip-installed Dist::Zilla
|
||||
- dzil authordeps | grep -ve '^\W' | xargs -n 5 -P 10 cpanm --quiet --notest --skip-installed
|
||||
- dzil listdeps | grep -ve '^\W' | cpanm --quiet --notest --skip-installed
|
||||
- cpanm --quiet --notest App::DuckPAN autodie
|
||||
- duckpan DDG
|
||||
- npm install -g uglify-js handlebars
|
||||
- cpanm --quiet --notest Dist::Zilla
|
||||
- dzil authordeps | grep -ve '^\W' | xargs -n 5 -P 10 cpanm --quiet --notest --mirror http://www.cpan.org/ --mirror http://duckpan.org
|
||||
- dzil listdeps | grep -ve '^\W' | cpanm --quiet --notest --mirror http://www.cpan.org/ --mirror http://duckpan.org
|
||||
language: perl
|
||||
perl:
|
||||
- 5.16
|
||||
- 5.18
|
||||
script:
|
||||
- dzil smoke --release --author
|
||||
|
|
113
dist.ini
113
dist.ini
|
@ -11,111 +11,18 @@ main_module = lib/DDG/GoodieBundle/OpenSourceDuckDuckGo.pm
|
|||
[PromptIfStale]
|
||||
index = http://duckpan.org
|
||||
module = Dist::Zilla::Plugin::UploadToDuckPAN
|
||||
module = Dist::Zilla::Plugin::BuildShareAssets
|
||||
|
||||
[Prereqs]
|
||||
Time::Duration = 1.1
|
||||
MIME::Base64 = 3.13
|
||||
MIME::Types = 0
|
||||
Roman = 1.23
|
||||
Fortune = 0.2
|
||||
Math::Int2Base = 1.00
|
||||
Data::GUID = 0.046
|
||||
IO::All = 0.44
|
||||
File::ShareDir::ProjectDistDir = 0.2.0
|
||||
Text::FIGlet = 2.19.3
|
||||
Text::Trim = 0
|
||||
Text::Unidecode = 0.04
|
||||
Date::Calc = 6.3
|
||||
Date::Hijri = 0.02
|
||||
Date::Jalali2 = 0.04
|
||||
Date::Leapyear = 1.72
|
||||
; Dates role, et. al.
|
||||
DateTime = 0.74
|
||||
DateTime::Format::HTTP = 0
|
||||
Devel::StackTrace = 0
|
||||
Package::Stash = 0
|
||||
Try::Tiny = 0
|
||||
Lingua::EN::Numericalize = 1.52
|
||||
Lingua::PigLatin = 0.01
|
||||
Lingua::JA::Moji = 0.34
|
||||
Locale::SubCountry = 1.47
|
||||
; causing problems because not pp: HTML::Barcode::QRCode = 0.09
|
||||
Unicode::Char = 0.02
|
||||
Number::UN = 0.002
|
||||
Locale::Codes = 3.30
|
||||
Gravatar::URL = 1.06
|
||||
CGI = 3.60
|
||||
Email::Valid = 1.192
|
||||
Net::Domain::TLD = 1.70
|
||||
Convert::Pluggable = 0.027
|
||||
YAML = 0
|
||||
Encode = 2.62
|
||||
; ParseCron
|
||||
Schedule::Cron::Events = 0
|
||||
; ColorCodes
|
||||
Color::Library = 0
|
||||
Color::Mix = 0
|
||||
Convert::Color = 0.08
|
||||
Convert::Color::Library = 0.03
|
||||
Convert::Braille = 0.05
|
||||
Math::Round = 0.06
|
||||
Convert::Morse = 0.05
|
||||
Net::IDN::Encode = 2.003
|
||||
Astro::MoonPhase = 0
|
||||
Acme::rafl::Everywhere = 0.008
|
||||
Lingua::EN::Numbers::Ordinate = 1.02
|
||||
; Hashes
|
||||
Digest::SHA = 5.82
|
||||
Digest::MD5 = 2.53
|
||||
Digest::MD4 = 1.9
|
||||
; Factors
|
||||
Math::Prime::Util = 0.43
|
||||
Games::Sudoku::Component = 0.02
|
||||
Data::RandomPerson = 0.51
|
||||
Lingua::EN::Words2Nums = 0
|
||||
Locale::Currency::Format = 1.30
|
||||
Net::IP = 0
|
||||
Math::BaseConvert = 0
|
||||
Telephony::CountryDialingCodes = 1.04
|
||||
URI::Escape::XS = 0.12
|
||||
DateTime::Calendar::Chinese = 1.00
|
||||
DateTime::Event::Chinese = 1.00
|
||||
DateTime::Event::Zodiac = 0
|
||||
SVG = 2.59
|
||||
Lingua::EN::Inflect = 1.895
|
||||
DateTime::Event::Sunrise = 0
|
||||
Geo::Coordinates::DecimalDegrees = 0.09
|
||||
Math::SigFigs = 1.09
|
||||
Bit::Vector = 7.3
|
||||
List::MoreUtils = 0
|
||||
; FlipText
|
||||
Text::UpsideDown = 1.22
|
||||
; Parser BinaryLogic
|
||||
Marpa::R2 = 0
|
||||
; For pre-fetch Goodies only.
|
||||
LWP::Simple = 0
|
||||
Business::CUSIP = 1.03
|
||||
Lingua::Any::Numbers = 0
|
||||
; For Rc4
|
||||
Crypt::RC4 = 2.02
|
||||
JSON::XS = 0
|
||||
|
||||
[Prereqs / TestRequires]
|
||||
Test::EOL = 0
|
||||
Test::MockTime = 0
|
||||
Test::More = 0.98
|
||||
Test::Most = 0
|
||||
Test::Dirs = 0.03
|
||||
File::Temp = 0.22
|
||||
[AutoPrereqs]
|
||||
|
||||
[Run::BeforeBuild]
|
||||
run = mkdir -p share/goodie/meta
|
||||
run = curl https://duck.co/ia/repo/goodies/json -o "share/goodie/meta/metadata.json"
|
||||
run = curl -Ss https://duck.co/ia/repo/goodies/json -o "share/goodie/meta/metadata.json"
|
||||
[GatherDir]
|
||||
exclude_match = \.(?:js|handlebars|md|ini|p[ly]|rb|go|tcl|sh|tx)$
|
||||
exclude_match = ^t(?:emplate)?/
|
||||
[BuildShareAssets]
|
||||
[PruneCruft]
|
||||
[ManifestSkip]
|
||||
[ExtraTests]
|
||||
[ExecDir]
|
||||
[ShareDir]
|
||||
[MakeMaker]
|
||||
[Manifest]
|
||||
|
@ -123,23 +30,17 @@ run = curl https://duck.co/ia/repo/goodies/json -o "share/goodie/meta/metadata.j
|
|||
[ConfirmRelease]
|
||||
[UploadToDuckPAN]
|
||||
[MetaJSON]
|
||||
[MetaYAML]
|
||||
|
||||
[AutoModuleShareDirs]
|
||||
scan_namespaces = DDG::Goodie,DDG::Spice
|
||||
scan_namespaces = DDG::Goodie
|
||||
sharedir_method = module_share_dir
|
||||
|
||||
[Git::NextVersion]
|
||||
version_regexp = ^(.+)$
|
||||
[PkgVersion]
|
||||
[PodSyntaxTests]
|
||||
[GithubMeta]
|
||||
[Test::EOL]
|
||||
trailing_whitespace = 0
|
||||
[@Git]
|
||||
tag_format = %v
|
||||
|
||||
[PodWeaver]
|
||||
|
||||
[Git::Push]
|
||||
push_to = origin master
|
||||
|
|
28
weaver.ini
28
weaver.ini
|
@ -1,28 +0,0 @@
|
|||
[@CorePrep]
|
||||
|
||||
[Name]
|
||||
[Version]
|
||||
|
||||
[Region / prelude]
|
||||
|
||||
[Generic / SYNOPSIS]
|
||||
[Generic / DESCRIPTION]
|
||||
[Generic / OVERVIEW]
|
||||
|
||||
[Collect / EXPORTS FUNCTIONS]
|
||||
command = keyword
|
||||
|
||||
[Collect / ATTRIBUTES]
|
||||
command = attr
|
||||
|
||||
[Collect / METHODS]
|
||||
command = method
|
||||
|
||||
[Leftovers]
|
||||
|
||||
[Region / postlude]
|
||||
|
||||
[Authors]
|
||||
|
||||
[Legal]
|
||||
|
Loading…
Reference in New Issue