mirror of
https://github.com/mudler/luet.git
synced 2025-09-02 07:45:02 +00:00
Consume CompilerBackend in Compiler
This commit is contained in:
@@ -56,3 +56,11 @@ func (cs *LuetCompiler) FromPackage(p pkg.Package) (CompilationSpec, error) {
|
||||
}
|
||||
return NewLuetCompilationSpec(dat)
|
||||
}
|
||||
|
||||
func (cs *LuetCompiler) GetBackend() CompilerBackend {
|
||||
return cs.Backend
|
||||
}
|
||||
|
||||
func (cs *LuetCompiler) SetBackend(b CompilerBackend) {
|
||||
cs.Backend = b
|
||||
}
|
||||
|
Reference in New Issue
Block a user