You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2022. It is now read-only.
flagYes=flag.Bool("yes", false, "Run without prompt")
40
-
release=flag.Bool("release", false, "Set up a release builder")
41
38
homeDir=flag.String("home", defaultHome(), "custom home directory")
42
39
)
43
40
@@ -56,7 +53,7 @@ func main() {
56
53
}
57
54
flag.Parse()
58
55
if!*flagYes {
59
-
log.Printf("This program will first download TDM-GCC, Wix, and Git, then let you optinally install Go and do a release.\nType 'go<enter>' to proceed.")
56
+
log.Printf("This program will first download TDM-GCC, Wix, and Git, then let you optinally install Go.\nType 'go<enter>' to proceed.")
60
57
waitForGo()
61
58
}
62
59
@@ -69,9 +66,6 @@ func main() {
69
66
log.Printf("Downloading files.")
70
67
varerrs []chanerror
71
68
forfile, url:=rangefiles {
72
-
if!*release&&file==wixFilename {
73
-
continue
74
-
}
75
69
errc:=make(chanerror)
76
70
errs=append(errs, errc)
77
71
gofunc(file, urlstring) {
@@ -103,10 +97,6 @@ func main() {
103
97
runGoMakeBat("386")
104
98
runGoMakeBat("amd64")
105
99
106
-
if*release {
107
-
buildMakerelease()
108
-
}
109
-
110
100
log.Printf(`Installed go to %v, please add %v\bin to your PATH`, goroot(), goroot())
0 commit comments