Skip to content

Instantly share code, notes, and snippets.

@grokify
Created October 21, 2011 19:32
Show Gist options
  • Save grokify/1304713 to your computer and use it in GitHub Desktop.
Save grokify/1304713 to your computer and use it in GitHub Desktop.
The 2 Second Guide to dzil
The 2 Second Guide to dzil
Dist::Zilla is a full-featured program to release free software, including packaging and uploading to the CPAN.
For a basic distribution, it takes just 5 commands to package and upload to the CPAN, not including your own code and tests.
The following commands will get your library uploaded:
# cpan Dist::Zilla
$ dzil setup
$ dzil new Your::Library
$ cd Your-Library
$ echo '[AutoPrereqs]' >> dist.ini
$ vi lib/Your/Library.pm
$ mkdir t
$ vi t/0-compile.pl
$ prove -lr t
$ dzil release
Have fun!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment