Add 'environment' package
This commit adds a new environment package that manages all calls to the underlying operating system.
This commit is contained in:
parent
822c70cd69
commit
f19619ef9f
60 changed files with 539 additions and 308 deletions
|
|
@ -58,7 +58,7 @@ func makeComponent[C component.Component](dis *Distillery, field *lazy.Lazy[C],
|
|||
}
|
||||
|
||||
base := c.Base()
|
||||
base.Config = dis.Config
|
||||
base.Core = dis.Core
|
||||
if base.Dir == "" {
|
||||
base.Dir = filepath.Join(dis.Config.DeployRoot, "core", c.Name())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue