mirror of
https://github.com/mudler/luet.git
synced 2025-09-02 15:54:39 +00:00
Add 'includes' to CompileSpec
The includes field is an array of regexp used to indicate what include inside the packag. It can be omitted to default behavior (all)
This commit is contained in:
@@ -70,6 +70,7 @@ type ArtifactLayer struct {
|
||||
// CompilationSpec represent a compilation specification derived from a package
|
||||
type CompilationSpec interface {
|
||||
ImageUnpack() bool // tells if the definition is just an image
|
||||
GetIncludes() []string
|
||||
|
||||
RenderBuildImage() (string, error)
|
||||
WriteBuildImageDefinition(string) error
|
||||
|
Reference in New Issue
Block a user