mirror of
https://github.com/mudler/luet.git
synced 2025-09-03 00:06:36 +00:00
Consume CompilerBackend in Compiler
This commit is contained in:
@@ -20,6 +20,9 @@ import pkg "github.com/mudler/luet/pkg/package"
|
||||
type Compiler interface {
|
||||
Compile(CompilationSpec) (*Artifact, error)
|
||||
FromPackage(pkg.Package) (CompilationSpec, error)
|
||||
|
||||
SetBackend(CompilerBackend)
|
||||
GetBackend() CompilerBackend
|
||||
}
|
||||
|
||||
type CompilerBackend interface {
|
||||
|
Reference in New Issue
Block a user