NAME
Dist::Zilla::Plugin::GitIgnore - Add .gitignore during minting
VERSION
version 0.003
SYNOPSIS
In your profile.ini
[GitIgnore]
extra = *.swp
DESCRIPTION
This is a minting plugin to add a .gitignore
file. By default it ignores only two things that Dist::Zilla itself generates: the .build/ directory, and any directory or .tar.gz
file starting with "$dist_name-"
(e.g. the tarball that Dist::Zilla
produces). More patterns can be added using the extra
argument. It will also add an override to never ignore the .gitignore
file itself (in case users have such a configuration).
ATTRIBUTES
extras
This is the list of extra patterns for the gitignore file.
filename
This sets the filename. It defaults to .gitignore and probably shouldn't be changed.
skip_defaults
If enabled, it won't add any default patterns. This is disabled by default.
skip_gitignore_override
If enabled, it won't add skip the .gitignore override to the patterns. You're probably better off leaving it as it is.
AUTHOR
Leon Timmermans <fawaka@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2025 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.