forked from vikunja/vikunja
fix(build): don't run go mod commands when generating swagger docs
This commit is contained in:
parent
424bf7647b
commit
985233ac38
@ -354,8 +354,8 @@ func DoTheSwag() {
|
||||
return
|
||||
}
|
||||
|
||||
runAndStreamOutput("go", "mod", "tidy")
|
||||
runAndStreamOutput("go", "mod", "download")
|
||||
//runAndStreamOutput("go", "mod", "tidy")
|
||||
//runAndStreamOutput("go", "mod", "download")
|
||||
checkAndInstallGoTool("swag", "github.com/swaggo/swag/cmd/swag")
|
||||
runAndStreamOutput("swag", "init", "-g", "./pkg/routes/routes.go", "--parseDependency", "-d", RootPath, "-o", RootPath+"/pkg/swagger")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user