mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2024-11-27 09:10:02 -05:00
No excludes target.scad from dependencies.
This commit is contained in:
parent
ab6c529905
commit
23e6925091
@ -33,7 +33,7 @@ def read_deps(dname):
|
||||
for line in lines:
|
||||
if line.startswith('\t'):
|
||||
dep = line[1 : -1].rstrip(' \\')
|
||||
if not dep in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad']:
|
||||
if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad', 'target.scad']:
|
||||
deps.append(dep)
|
||||
return deps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user