mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-01 21:20:11 +02:00
/stls/ and /dxfs/ excluded from deps to prevent circular dependencies.
This commit is contained in:
@@ -34,7 +34,7 @@ def read_deps(dname):
|
|||||||
for line in lines:
|
for line in lines:
|
||||||
if line.startswith('\t'):
|
if line.startswith('\t'):
|
||||||
dep = line[1 : -1].rstrip(' \\').replace('\\ ', ' ')
|
dep = line[1 : -1].rstrip(' \\').replace('\\ ', ' ')
|
||||||
if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad', 'target.scad']:
|
if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad', 'target.scad'] and not '/stls/' in dep and not '/dxfs/' in dep:
|
||||||
deps.append(dep)
|
deps.append(dep)
|
||||||
return deps
|
return deps
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user