fixed 'go run . -r'
This commit is contained in:
parent
ad7f7bf778
commit
e99e7bf437
3 changed files with 56 additions and 34 deletions
4
main.go
4
main.go
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue