2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 02:48:55 +00:00

Remove build tag release

This commit is contained in:
Alexander Neumann 2018-10-07 20:40:18 +02:00
parent de4750b8e0
commit 0cb241b7d3
4 changed files with 3 additions and 8 deletions

View File

@ -525,11 +525,6 @@ func main() {
verbosePrintf("detected Go version %v\n", goVersion)
if len(buildTags) == 0 {
verbosePrintf("adding build-tag release\n")
buildTags = []string{"release"}
}
for i := range buildTags {
buildTags[i] = strings.TrimSpace(buildTags[i])
}

View File

@ -1,4 +1,4 @@
// +build !release
// +build debug
package debug

View File

@ -1,4 +1,4 @@
// +build release
// +build !debug
package debug

View File

@ -315,7 +315,7 @@ func (env *TravisEnvironment) RunTests() error {
if *runCrossCompile {
// compile for all target architectures with tags
for _, tags := range []string{"release", "debug"} {
for _, tags := range []string{"", "debug"} {
err := runWithEnv(env.env, "gox", "-verbose",
"-osarch", strings.Join(env.goxOSArch, " "),
"-tags", tags,