File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ use crate::{
28
28
utils:: { format_image_manifest_uri, format_image_repository_uri} ,
29
29
} ;
30
30
31
+ /// This glob pattern matches all (deeply nested) image configs.
32
+ pub const ALL_CONFIGS_GLOB_PATTERN : & str = "**/boil-config.toml" ;
31
33
pub const COMMON_TARGET_NAME : & str = "common--target" ;
32
34
pub const ENTRY_TARGET_NAME_PREFIX : & str = "entry--" ;
33
35
@@ -106,7 +108,7 @@ impl IntoIterator for Targets {
106
108
107
109
impl Targets {
108
110
pub fn all ( options : TargetsOptions ) -> Result < Self , TargetsError > {
109
- let image_config_paths = glob ( "./**/boil-config.toml" )
111
+ let image_config_paths = glob ( ALL_CONFIGS_GLOB_PATTERN )
110
112
. expect ( "glob pattern must be valid" )
111
113
. filter_map ( Result :: ok) ;
112
114
You can’t perform that action at this time.
0 commit comments