mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-03 05:00:56 +00:00
.goxc.json: list os/arch explicitly to avoid darwin/386
Go 1.15 drops support for darwin/386 GOOS/GOARCH pair [1]. So, we have to skip this pair, and thus cannot use simple os multiply arch anymore. Switch to goxc's BuildConstraints config, which uses the same syntax as Go's build constraint header [2]. [1] https://github.com/golang/go/issues/37610 [2] https://golang.org/cmd/go/#hdr-Build_constraints
This commit is contained in:
committed by
Lorenzo Bolla
parent
cbf0416d7e
commit
f9d08e1377
+1
-2
@@ -34,8 +34,7 @@
|
||||
}
|
||||
},
|
||||
"ResourcesInclude": "README.rst,LICENSE,AUTHORS,man/aptly.1",
|
||||
"Arch": "386 amd64",
|
||||
"Os": "linux darwin freebsd",
|
||||
"BuildConstraints": "linux,386 linux,amd64 darwin,amd64 freebsd,386 freebsd,amd64",
|
||||
"MainDirsExclude": "_man,vendor",
|
||||
"BuildSettings": {
|
||||
"LdFlagsXVars": {
|
||||
|
||||
Reference in New Issue
Block a user