Skip to content

Commit 4aba380

Browse files
committed
automatically exclude internal packages. Fixes #343
1 parent 08d1f14 commit 4aba380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd_pkg.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func buildPkgRecurse(odir, path, rootpath string, exmap map[string]struct{}, bui
167167
drs := Dirs(dir)
168168
for _, dr := range drs {
169169
_, ex := exmap[dr]
170-
if ex || dr[0] == '.' || dr[0] == '_' {
170+
if ex || dr[0] == '.' || dr[0] == '_' || dr == "internal" {
171171
continue
172172
}
173173
sp := filepath.Join(path, dr)

0 commit comments

Comments
 (0)