From 7ae227000aa87059d62245f41bff83dcf6361c3e Mon Sep 17 00:00:00 2001 From: Chris de Graaf Date: Mon, 25 May 2020 18:16:51 -0500 Subject: [PATCH] Update version to 0.7.0 (#171) * Update version to 0.7.0 Also update Travis config to test on 1.x instead of 1.4 specifically. * One last bugfix --- .travis.yml | 2 +- Project.toml | 2 +- src/template.jl | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) 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))