diff --git a/.travis.yml b/.travis.yml index 98ffe43..c62707d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ os: - windows julia: - 1.0 - - 1.4 + - 1 - nightly before_script: - git config --global user.name Tester diff --git a/Project.toml b/Project.toml index 9ab26fd..d555c05 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PkgTemplates" uuid = "14b8a8f1-9102-5b29-a752-f990bacb7fe1" authors = ["Chris de Graaf", "Invenia Technical Computing Corporation"] -version = "0.7.0-DEV" +version = "0.7.0" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" diff --git a/src/template.jl b/src/template.jl index 2d7324a..61a3d5d 100644 --- a/src/template.jl +++ b/src/template.jl @@ -204,6 +204,8 @@ function interactive(::Type{Template}; kwargs...) end end +prompt(::Type{Template}, ::Type, ::Val{:pkg}) = Base.prompt("Package name") + function prompt(::Type{Template}, ::Type, ::Val{:host}) hosts = ["github.com", "gitlab.com", "bitbucket.org", "Other"] menu = RadioMenu(hosts; pagesize=length(hosts))