From 7bba20e60cfadafb80b74656dd42c15da1ddd19c Mon Sep 17 00:00:00 2001 From: Chris de Graaf Date: Tue, 22 Aug 2017 11:29:53 -0500 Subject: [PATCH] Make MIT the default license --- src/template.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/template.jl b/src/template.jl index 1942e6d..d52c301 100644 --- a/src/template.jl +++ b/src/template.jl @@ -14,7 +14,7 @@ create a template, you can use [`interactive_template`](@ref) instead. officially supported and they will cause certain plugins will produce incorrect output. For example, [`AppVeyor`](@ref)'s badge image will point to a GitHub-specific URL, regardless of the value of `host`. -* `license::Union{AbstractString, Void}=nothing`: Name of the package license. If +* `license::Union{AbstractString, Void}="MIT"`: Name of the package license. If no license is specified, no license is created. [`show_license`](@ref) can be used to list all available licenses, or to print out a particular license's text. * `authors::Union{AbstractString, Array}=""`: Names that appear on the license. Supply a @@ -57,7 +57,7 @@ don't belong. function Template(; user::AbstractString="", host::AbstractString="https://github.com", - license::Union{AbstractString, Void}=nothing, + license::Union{AbstractString, Void}="MIT", authors::Union{AbstractString, Array}="", years::Union{Int, AbstractString}=Dates.year(now()), dir::AbstractString=Pkg.dir(),