nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2f586ad
)
loader: scan_group does not recursively scan in case of nested project
author
Jean Privat
<jean@pryen.org>
Mon, 24 Aug 2015 19:37:59 +0000
(15:37 -0400)
committer
Jean Privat
<jean@pryen.org>
Mon, 24 Aug 2015 19:37:59 +0000
(15:37 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/loader.nit
patch
|
blob
|
history
diff --git
a/src/loader.nit
b/src/loader.nit
index
7d1c564
..
bd01e9c
100644
(file)
--- a/
src/loader.nit
+++ b/
src/loader.nit
@@
-535,7
+535,10
@@
redef class ModelBuilder
for f in p.files do
var fp = p/f
var g = get_mgroup(fp)
for f in p.files do
var fp = p/f
var g = get_mgroup(fp)
- if g != null then scan_group(g)
+ # Recursively scan for groups of the same project
+ if g != null and g.mproject == mgroup.mproject then
+ scan_group(g)
+ end
identify_file(fp)
end
end
identify_file(fp)
end
end