mirror of
https://github.com/mudler/luet.git
synced 2025-09-02 07:45:02 +00:00
Make Compile work in parallel
Also make the spinner thread-safe
This commit is contained in:
@@ -21,6 +21,7 @@ import (
|
||||
|
||||
type Compiler interface {
|
||||
Compile(int, bool, CompilationSpec) (Artifact, error)
|
||||
CompileParallel(concurrency int, keepPermissions bool, ps []CompilationSpec) ([]Artifact, []error)
|
||||
FromPackage(pkg.Package) (CompilationSpec, error)
|
||||
|
||||
SetBackend(CompilerBackend)
|
||||
|
Reference in New Issue
Block a user