fixed 'go run . -r'

This commit is contained in:
partisan 2024-12-11 17:12:00 +01:00
parent ad7f7bf778
commit e99e7bf437
3 changed files with 56 additions and 34 deletions

View file

@ -145,7 +145,7 @@ func main() {
fmt.Printf("Resolved uploadPath: %s\n", uploadPath)
}
if all || buildFlag || prePatch || postPatch || clean || update {
if all || buildFlag || prePatch || postPatch || clean || update || run {
BuildProcess()
}
@ -217,6 +217,8 @@ func BuildProcess() {
spitfire.RunProject(sourcePath)
}
fmt.Println("Spitfire build completed successfully.")
} else if run {
spitfire.RunProject(sourcePath)
}
}