add --hardwarnings to the build to catch issues
this doesn't seem to error on manifold warnings (which I should fix at some point), but it does catch "unknown module" errors, which will help me notice when refactoring breaks imports and modularity Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
950346f85a
commit
a67c3a3d7f
2
build.py
2
build.py
@ -42,7 +42,7 @@ for root, dirs, files in os.walk('.'):
|
||||
stl_file = re.sub(r'\.scad$', '.stl', file)
|
||||
input_ = os.path.join(input_dir, file)
|
||||
output = os.path.join(output_dir, stl_file)
|
||||
cmd = f'openscad -o {output} {input_}'
|
||||
cmd = f'openscad --hardwarnings -o {output} {input_}'
|
||||
print(cmd)
|
||||
processes.append(subprocess.Popen(cmd.split(' ')))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user