Fixes for 1.0

This commit is contained in:
Chris de Graaf 2019-09-20 10:23:56 +07:00
parent 0cf6d47ada
commit 89e0ed5356
No known key found for this signature in database
GPG Key ID: 150FFDD9B0073C7B
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ priority(::ProjectFile) = typemax(Int) - DEFAULT_PRIORITY + 1
function hook(::ProjectFile, t::Template, pkg_dir::AbstractString)
toml = Dict(
"name" => basename(pkg_dir),
"uuid" => uuid4(),
"uuid" => string(uuid4()),
"authors" => t.authors,
"version" => "0.1.0",
"compat" => Dict("julia" => compat_version(t.julia_version)),

View File

@ -96,7 +96,7 @@ function (t::Template)(pkg::AbstractString)
try
foreach((prehook, hook, posthook)) do h
@info "Running $(h)s"
@info "Running $(nameof(h))s"
foreach(t.plugins) do p
h(p, t, pkg_dir)
end