Skip to content

Instantly share code, notes, and snippets.

@briang
Last active August 29, 2015 14:12
Show Gist options
  • Save briang/44eda479862a3bbcc147 to your computer and use it in GitHub Desktop.
Save briang/44eda479862a3bbcc147 to your computer and use it in GitHub Desktop.
README for Dist::Zilla distributions on GitHub

This distribution is managed using Dist::Zilla. If all you want to do is to install the latest stable distribution of {{dist}}, your best bet is to install it from CPAN using your usual CPAN client:

$ cpanm {{dist}} # cpan or cpanp also work

If you want to install this GitHub version of the distribution you need to have an up-to-date installation of Dist::Zilla. This is more complicated than installing direct from CPAN.

Dist::Zilla needs to be be installed from CPAN first (warning it's a large distribution with many dependencies - as of this writing, 32MB in 165 distributions for the base installation):

$ cpanm Dist::Zilla

If you haven't done so already, you'll need to download {{dist}} from GitHub:

$ git clone {{dist:github}}

Then, from the directory of your newly cloned {{dist}}, you need to use Dist::Zilla to install all the plug-ins the distribution author used (again, this can be sizeable - on my system another 14MB in 109 distributions were installed):

$ dzil authordeps | cpanm

Finally, you can use Dist::Zilla to test and install {{dist}}:

$ dzil test
$ dzil install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment