2 Commits
6.1.0 ... 6.1.2

Author SHA1 Message Date
pk
79afdd39b8 Fix missing dot 2024-09-03 14:40:50 +02:00
pk
6b14faa5b1 Fix survey options. 2024-09-03 14:39:41 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ func main() {
app := &cli.App{
Name: "gowebbuild",
Usage: "All in one tool to build web frontend projects.",
Version: "6.1.0",
Version: "6.1.2",
Authors: []*cli.Author{{
Name: "trading-peter (https://github.com/trading-peter)",
}},

View File

@ -33,7 +33,7 @@ var qs = []*survey.Question{
Name: "tpl",
Prompt: &survey.Select{
Message: "Choose a template:",
Options: []string{".gowebbuild.yaml", "docker_image.sh", "Dockerfile"},
Options: []string{".air.toml", ".gowebbuild.yaml", "docker_image.sh", "Dockerfile"},
Default: "docker_image.sh",
},
},
@ -70,7 +70,7 @@ func tplAction(ctx *cli.Context) error {
case "Dockerfile":
tpl = dockerFile
fileName = "Dockerfile"
case "air.toml":
case ".air.toml":
tpl = airToml
if runtime.GOOS == "windows" {
tpl = airWinToml