@@ -20,9 +20,12 @@ impl<'run, 'src> Analyzer<'run, 'src> {
2020 loaded : & [ PathBuf ] ,
2121 name : Option < Name < ' src > > ,
2222 paths : & HashMap < PathBuf , PathBuf > ,
23+ private : bool ,
2324 root : & Path ,
2425 ) -> RunResult < ' src , Justfile < ' src > > {
25- Self :: default ( ) . justfile ( asts, config, doc, groups, loaded, name, paths, root)
26+ Self :: default ( ) . justfile (
27+ asts, config, doc, groups, loaded, name, paths, root, private,
28+ )
2629 }
2730
2831 fn justfile (
@@ -35,6 +38,7 @@ impl<'run, 'src> Analyzer<'run, 'src> {
3538 name : Option < Name < ' src > > ,
3639 paths : & HashMap < PathBuf , PathBuf > ,
3740 root : & Path ,
41+ private : bool ,
3842 ) -> RunResult < ' src , Justfile < ' src > > {
3943 let mut definitions = HashMap :: new ( ) ;
4044 let mut imports = HashSet :: new ( ) ;
@@ -69,6 +73,7 @@ impl<'run, 'src> Analyzer<'run, 'src> {
6973 doc,
7074 groups,
7175 name,
76+ private,
7277 ..
7378 } => {
7479 if let Some ( absolute) = absolute {
@@ -81,6 +86,7 @@ impl<'run, 'src> Analyzer<'run, 'src> {
8186 loaded,
8287 Some ( * name) ,
8388 paths,
89+ * private,
8490 absolute,
8591 ) ?) ;
8692 }
@@ -231,6 +237,7 @@ impl<'run, 'src> Analyzer<'run, 'src> {
231237 module_path : ast. module_path . clone ( ) ,
232238 modules : self . modules ,
233239 name,
240+ private,
234241 recipes,
235242 settings,
236243 source,
0 commit comments