Fixes for 1.0
This commit is contained in:
parent
0cf6d47ada
commit
89e0ed5356
@ -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)),
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user