mirror of
https://github.com/mudler/luet.git
synced 2025-09-02 07:45:02 +00:00
Add compression to build CLI
Also handle how concurrency is set now. Adds also an accessor to compiler to set the desired compression type Refers to #33
This commit is contained in:
@@ -65,6 +65,10 @@ func (cs *LuetCompiler) SetConcurrency(i int) {
|
||||
cs.Concurrency = i
|
||||
}
|
||||
|
||||
func (cs *LuetCompiler) SetCompressionType(t CompressionImplementation) {
|
||||
cs.CompressionType = t
|
||||
}
|
||||
|
||||
func (cs *LuetCompiler) compilerWorker(i int, wg *sync.WaitGroup, cspecs chan CompilationSpec, a *[]Artifact, m *sync.Mutex, concurrency int, keepPermissions bool, errors chan error) {
|
||||
defer wg.Done()
|
||||
|
||||
|
Reference in New Issue
Block a user