mirror of
https://github.com/mudler/luet.git
synced 2025-09-03 00:06:36 +00:00
@@ -30,6 +30,7 @@ type LuetCompilationSpec struct {
|
||||
Seed string `json:"seed"`
|
||||
Package pkg.Package `json:"-"`
|
||||
OutputPath string `json:"-"` // Where the build processfiles go
|
||||
Unpack bool `json:"unpack"`
|
||||
}
|
||||
|
||||
func NewLuetCompilationSpec(b []byte, p pkg.Package) (CompilationSpec, error) {
|
||||
@@ -50,6 +51,10 @@ func (cs *LuetCompilationSpec) BuildSteps() []string {
|
||||
return cs.Steps
|
||||
}
|
||||
|
||||
func (cs *LuetCompilationSpec) ImageUnpack() bool {
|
||||
return cs.Unpack
|
||||
}
|
||||
|
||||
func (cs *LuetCompilationSpec) GetPreBuildSteps() []string {
|
||||
return cs.Prelude
|
||||
}
|
||||
|
Reference in New Issue
Block a user