Choose Your Own Tutorial
Performing Initial Dist::Zilla Configuration
You can do a lot of things without ever configuring Dist::Zilla, but creating a user configuration file up front can save you time later. This file will live at ~/.dzil/config.ini, and will provide information in "stashes" used to get defaults for things like your username, your preferred license, and so on.
Dist::Zilla can produce this file for you, if you run dzil setup
. If you prefer to do things the old fashioned way, here's a sample config.ini suitable for copying, pasting, and editing:
1: | [%User] |
If you've already set up Dist::Zilla in the distant past, and your configuration is no longer valid, you'll have to move this file out of the way. You can't just call it config.ini.old, because Dist::Zilla is cunning and will think it's some kind of old
-format configuration. Sorry.
If you'd like to write a new dist using Dist::Zilla, turn to page 13
If you'd like to convert an existing dist to Dist::Zilla, turn to page 4