component: Automatically determine names
This commit is contained in:
parent
10df1c3243
commit
e320bb37bb
31 changed files with 84 additions and 113 deletions
|
|
@ -22,12 +22,8 @@ type SQL struct {
|
|||
lazyNetwork lazy.Lazy[string]
|
||||
}
|
||||
|
||||
func (*SQL) Name() string {
|
||||
return "sql"
|
||||
}
|
||||
|
||||
func (sql *SQL) Path() string {
|
||||
return filepath.Join(sql.Core.Config.DeployRoot, "core", sql.Name())
|
||||
return filepath.Join(sql.Still.Config.DeployRoot, "core", "sql")
|
||||
}
|
||||
|
||||
func (*SQL) Context(parent component.InstallationContext) component.InstallationContext {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue