{"id":19640473,"url":"https://github.com/kentnl/dist-zilla-plugin-bootstrap-sharedir-dist","last_synced_at":"2026-05-26T16:37:21.613Z","repository":{"id":10402097,"uuid":"12555637","full_name":"kentnl/Dist-Zilla-Plugin-Bootstrap-ShareDir-Dist","owner":"kentnl","description":" Use a `share` directory on your dist during bootstrap","archived":false,"fork":false,"pushed_at":"2017-03-04T07:06:42.000Z","size":366,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T18:57:44.264Z","etag":null,"topics":["dist-zilla","perl"],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kentnl.png","metadata":{"files":{"readme":"README.mkdn","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-03T05:18:46.000Z","updated_at":"2017-03-04T06:56:30.000Z","dependencies_parsed_at":"2022-07-30T18:08:03.484Z","dependency_job_id":null,"html_url":"https://github.com/kentnl/Dist-Zilla-Plugin-Bootstrap-ShareDir-Dist","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-Bootstrap-ShareDir-Dist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-Bootstrap-ShareDir-Dist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-Bootstrap-ShareDir-Dist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-Bootstrap-ShareDir-Dist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentnl","download_url":"https://codeload.github.com/kentnl/Dist-Zilla-Plugin-Bootstrap-ShareDir-Dist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947648,"owners_count":19883030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dist-zilla","perl"],"created_at":"2024-11-11T14:05:54.202Z","updated_at":"2025-11-21T16:04:20.783Z","avatar_url":"https://github.com/kentnl.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nDist::Zilla::Plugin::Bootstrap::ShareDir::Dist - Use a share directory on your dist during bootstrap\n\n# VERSION\n\nversion 1.001003\n\n# DESCRIPTION\n\nThis module allows one to load a `Dist` styled `ShareDir` using a `Bootstrap`\nmechanism so a distribution can use files in its own source tree when building with itself.\n\nThis is very much like the `Bootstrap::lib` plugin in that it injects libraries into\n`@INC` based on your existing source tree, or a previous build you ran.\n\nAnd it is syntactically like the `ShareDir` plugin.\n\n**Note** that this is really only useful for self consuming _plugins_ and will have no effect\non the `test` or `run` phases of your dist. ( For that, you'll need `Test::File::ShareDir` ).\n\n# USAGE\n\n    [Bootstrap::lib]\n\n    [Bootstrap::ShareDir::Dist]\n    dir = share\n\n    [ShareDir]\n    dir = share\n\nThe only significant difference between this module and `ShareDir` is this module exists to make `share` visible to\nplugins for the distribution being built, while `ShareDir` exists to export the `share` directory visible after install time.\n\nAdditionally, there are two primary attributes that are provided by [`Dist::Zilla::Role::Bootstrap`](https://metacpan.org/pod/Dist::Zilla::Role::Bootstrap), See [\"ATTRIBUTES\" in Dist::Zilla::Role::Bootstrap](https://metacpan.org/pod/Dist::Zilla::Role::Bootstrap#ATTRIBUTES)\n\nFor instance, this bootstraps `ROOT/Your-Dist-Name-$VERSION/share` if it exists and there's only one `$VERSION`,\notherwise it falls back to simply bootstrapping `ROOT/share`\n\n    [Bootstrap::ShareDir::Dist]\n    dir = share\n    try_built = 1\n\n# METHODS\n\n## `do_bootstrap_sharedir`\n\nThis is where all the real work is done.\n\n## `bootstrap`\n\nCalled by [`Dist::Zilla::Role::**Bootstrap**`](https://metacpan.org/pod/Dist::Zilla::Role::Bootstrap)\n\n# ATTRIBUTES\n\n## `dir`\n\n# AUTHOR\n\nKent Fredric \u003ckentnl@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2017 by Kent Fredric \u003ckentfredric@gmail.com\u003e.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fdist-zilla-plugin-bootstrap-sharedir-dist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentnl%2Fdist-zilla-plugin-bootstrap-sharedir-dist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fdist-zilla-plugin-bootstrap-sharedir-dist/lists"}