Skip to content

Commit

Permalink
define PluginPath in loader.go
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Nov 28, 2023
1 parent f7637a1 commit 225efd6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ func LoadRecipe(path string) (*api.Recipe, error) {
return nil, err
}

// the plugins directory contains all plugins that vib can load
// and use for unknown modules in the recipe
recipe.PluginPath = filepath.Join(filepath.Dir(recipePath), "plugins")

// the includes directory is the place where we store all the
// files to be included in the container, this is useful for
// example to include configuration files. Each file must follow
Expand Down

0 comments on commit 225efd6

Please sign in to comment.