1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
name = Test-JSON-Schema-Acceptance
author = Ben Hutton (@relequestual) <relequest@cpan.org>
license = MIT
copyright_year = 2015
copyright_holder = Ben Hutton
; bring local checkout up to what the submodule commit says
[Run::BeforeBuild]
run = git submodule update --init --recursive
run = git submodule update --recursive ; fetches the commit captured in 'share'
; pull in updates to the latest commit in the submodule repository
; if there are new changes to the submodule, release will be halted by [Git::Check]
[Run::BeforeRelease]
run = git submodule update --remote
run = if [[ -n $(git status --untracked --porcelain share) ]]; then echo -e '\033[1;33m!!! submodule has changed! run './update-share' to commit updates to share/\033[0m'; fi
[Git::GatherDir / Gather sharedir]
root = share
prefix = share
exclude_filename = index.js
exclude_filename = package.json
exclude_filename = tox.ini
exclude_match = ^bin/
[=inc::OldShareDirFiles]
removed = share/tests/draft2019-09/optional/format/ecmascript-regex.json
removed = share/tests/draft3/optional/format.json
removed = share/tests/draft4/optional/format.json
removed = share/tests/draft6/optional/format.json
removed = share/tests/draft7/optional/format/ecmascript-regex.json
removed = share/remotes/folder/folderInteger.json
removed = share/tests/draft2019-09/optional/content.json
[@Author::ETHER]
:version = 0.154 ; submodules, github issues
authority = cpan:RELEQUEST
bugtracker = github
installer = MakeMaker
Test::MinimumVersion.max_target_perl = 5.014 ; may go higher later on
Git::GatherDir.exclude_filename = share ; in git, this is a filename (containing submodule info)
StaticInstall.mode = off ; sharedir
Test::ReportPrereqs.include[0] = JSON::PP
Test::ReportPrereqs.include[1] = Cpanel::JSON::XS
Test::ReportPrereqs.include[2] = JSON::XS
[Prereqs / RuntimeSuggests]
Class::XSAccessor = 0
Type::Tiny::XS = 0
[Prereqs / TestRequires]
Test::Simple = 1.302176 ; Test2::API::intercept compatibility with Test::Builder and TODO
Test2::Suite = 0.000131 ; ""
[GenerateFile / submodule_status]
filename = share/submodule_status
content_is_template = 1
content = {{
content = chomp(my $str = `git submodule status`);
content = my ($sha, undef, $tag) = split(' ', $str);
content = chomp(my $url = `git config --file .gitmodules submodule.share.url`);
content = $sha.' '.$tag."\n".$url;
content = }}
[ShareDir]
dir = share
|