forked from x/icebergs
opt some
This commit is contained in:
parent
4156fac09a
commit
80df68adf5
@ -19,6 +19,10 @@ func _binpack_file(m *ice.Message, w io.Writer, arg ...string) {
|
|||||||
if strings.HasPrefix(arg[0], "usr/volcanos/publish/") && !strings.HasSuffix(arg[0], "/proto.js") {
|
if strings.HasPrefix(arg[0], "usr/volcanos/publish/") && !strings.HasSuffix(arg[0], "/proto.js") {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
switch path.Base(arg[0]) {
|
||||||
|
case "go.mod", "go.sum":
|
||||||
|
return
|
||||||
|
}
|
||||||
switch arg[0] {
|
switch arg[0] {
|
||||||
case ice.SRC_BINPACK_GO, ice.SRC_VERSION_GO, ice.ETC_LOCAL_SHY:
|
case ice.SRC_BINPACK_GO, ice.SRC_VERSION_GO, ice.ETC_LOCAL_SHY:
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user