Created
October 21, 2011 19:32
-
-
Save grokify/1304713 to your computer and use it in GitHub Desktop.
The 2 Second Guide to dzil
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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