Skip to content
This repository was archived by the owner on Jan 23, 2019. It is now read-only.

Commit c6dfeee

Browse files
committed
Fix build script.
1 parent 96d8ac3 commit c6dfeee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/make.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ def build_cmd(name):
9494
if 'distro' in cfg:
9595
for goos, archs in cfg['distro'].items():
9696
for goarch in archs:
97-
libbuild.go_build(name, goos, goarch, main='cmd/{}/main.go'.format(name))
97+
libbuild.go_build(name, goos, goarch, main='cmd/{}/*.go'.format(name))
9898
else:
99-
libbuild.go_build(name, libbuild.GOHOSTOS, libbuild.GOHOSTARCH, main='cmd/{}/main.go'.format(name))
99+
libbuild.go_build(name, libbuild.GOHOSTOS, libbuild.GOHOSTARCH, main='cmd/{}/*.go'.format(name))
100100

101101

102102
def build_cmds():

0 commit comments

Comments
 (0)