1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 16:28:12 -07:00

Template instructions.

This commit is contained in:
Cedric Beust 2016-02-18 06:46:20 -08:00
parent 245afe4946
commit 42454fd0ff

View file

@ -26,7 +26,8 @@ class ProjectGenerator @Inject constructor(val pluginInfo: PluginInfo){
if (template != null) { if (template != null) {
log(2, "Running template $templateName") log(2, "Running template $templateName")
template.generateTemplate(args, classLoader) template.generateTemplate(args, classLoader)
log(1, "\n\n" + template.instructions) log(1, "\n\nTemplate \"$templateName\" installed")
log(1, template.instructions)
} else { } else {
warn("Couldn't find any template named $templateName") warn("Couldn't find any template named $templateName")
} }