* compress post processor: add bzip2 + tests * post-processor/compress/post-processor_test.go: refactor tests and add tests for bzip2 * post-processor_test.go: test write/read for all compression algos * check artifact.Destroy() errors * close archive before deleting it Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
22 lines
751 B
Go
22 lines
751 B
Go
// Copyright 2015, Joe Tsai. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE.md file.
|
|
|
|
// +build !debug,!gofuzz
|
|
|
|
package internal
|
|
|
|
// Debug indicates whether the debug build tag was set.
|
|
//
|
|
// If set, programs may choose to print with more human-readable
|
|
// debug information and also perform sanity checks that would otherwise be too
|
|
// expensive to run in a release build.
|
|
const Debug = false
|
|
|
|
// GoFuzz indicates whether the gofuzz build tag was set.
|
|
//
|
|
// If set, programs may choose to disable certain checks (like checksums) that
|
|
// would be nearly impossible for gofuzz to properly get right.
|
|
// If GoFuzz is set, it implies that Debug is set as well.
|
|
const GoFuzz = false
|