|
|
@ -85,14 +85,14 @@ type Manager struct {
|
|
|
|
// If SkipUpdate is set, this will not update the repository.
|
|
|
|
// If SkipUpdate is set, this will not update the repository.
|
|
|
|
func (m *Manager) Build() error {
|
|
|
|
func (m *Manager) Build() error {
|
|
|
|
c, err := m.loadChartDir()
|
|
|
|
c, err := m.loadChartDir()
|
|
|
|
if c.Metadata.Dependencies == nil && m.Debug {
|
|
|
|
|
|
|
|
fmt.Print("No dependencies found to build")
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if c.Metadata.Dependencies == nil && m.Debug {
|
|
|
|
|
|
|
|
fmt.Print("No dependencies found to build")
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
// If a lock file is found, run a build from that. Otherwise, just do
|
|
|
|
// If a lock file is found, run a build from that. Otherwise, just do
|
|
|
|
// an update.
|
|
|
|
// an update.
|
|
|
|
lock := c.Lock
|
|
|
|
lock := c.Lock
|
|
|
|