Always commit the doc project manifest

This commit is contained in:
Chris de Graaf 2018-12-14 15:10:54 -06:00
parent adb2581a75
commit 4558c13ebd

View File

@ -230,7 +230,7 @@ Returns an array of generated file/directory names.
function gen_gitignore(pkg_dir::AbstractString, t::Template)
pkg = basename(pkg_dir)
seen = [".DS_Store"]
t.manifest || push!(seen, "Manifest.toml")
t.manifest || push!(seen, "/Manifest.toml") # Only ignore manifests at the repo root.
patterns = vcat(map(p -> p.gitignore, values(t.plugins))...)
for pattern in patterns
if !in(pattern, seen)