build: add test build target.
This commit is contained in:
parent
b471f8359a
commit
d9ff4aecd7
4 changed files with 21 additions and 0 deletions
|
|
@ -43,6 +43,10 @@ func filterRuleForUs(opt *Option) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
if prebuild.Test && slices.Contains(opt.ArgList, "test") {
|
||||
return true
|
||||
}
|
||||
|
||||
abiStr := fmt.Sprintf("abi%d", prebuild.ABI)
|
||||
if slices.Contains(opt.ArgList, abiStr) {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue