@@ -212,7 +212,7 @@ def buildhk():
212212def dogfoodhk ():
213213 """Compile and install new bootstrap to dogfood."""
214214 bootstrap_path = DIR .project / "bootstrap"
215- Command ("go" )("build" , "-ldflags=-s -w" , " hk.go" ).in_dir (bootstrap_path ).run ()
215+ Command ("go" )("build" , "hk.go" ).in_dir (bootstrap_path ).run ()
216216 bootstrap_path .joinpath ("hk" ).copy ("/home/colm/bin/hk" )
217217
218218@expected (CommandError )
@@ -226,15 +226,15 @@ def multiarch():
226226
227227 go = Command ("go" ).in_dir (bootstrap_path )
228228 print ("Building for linux..." )
229- go ("build" , "-o" , "hk-linux-amd64" , "-ldflags=-s -w" , " hk.go" ).with_env (GOOS = "linux" , GOARCH = "amd64" ).run ()
229+ go ("build" , "-o" , "hk-linux-amd64" , "hk.go" ).with_env (GOOS = "linux" , GOARCH = "amd64" ).run ()
230230 bootstrap_path .joinpath ("hk-linux-amd64" ).copy (dist_path )
231231
232232 print ("Building for mac..." )
233- go ("build" , "-o" , "hk-darwin-amd64" , "-ldflags=-s -w" , " hk.go" ).with_env (GOOS = "darwin" , GOARCH = "amd64" ).run ()
233+ go ("build" , "-o" , "hk-darwin-amd64" , "hk.go" ).with_env (GOOS = "darwin" , GOARCH = "amd64" ).run ()
234234 bootstrap_path .joinpath ("hk-darwin-amd64" ).copy (dist_path )
235235
236236 print ("Building for windows..." )
237- go ("build" , "-o" , "hk.exe" , "-ldflags=-s -w" , " hk.go" ).with_env (GOOS = "linux" , GOARCH = "amd64" ).run ()
237+ go ("build" , "-o" , "hk.exe" , "hk.go" ).with_env (GOOS = "linux" , GOARCH = "amd64" ).run ()
238238 bootstrap_path .joinpath ("hk.exe" ).copy (dist_path )
239239
240240 print ("Building MSI For windows..." )
0 commit comments