1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-08 08:26:29 +02:00

No excludes target.scad from dependencies.

This commit is contained in:
Chris Palmer
2019-06-17 16:31:58 +01:00
parent ab6c529905
commit 23e6925091

View File

@@ -33,7 +33,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(' \\') 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) deps.append(dep)
return deps return deps