From a3bf9fbe4ee0f415f5341e2c9fd1714434ca9798 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 23 Dec 2023 19:43:54 +0100 Subject: mech: Stop build on openscad warnings It is quite easy to add bugs to *.scad files and miss them. Warnings can be hidden inside the long log output. This commit will ensure that bugs are detected earlier. --- mech/mech.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mech/mech.mk b/mech/mech.mk index aa58d95..13b73d7 100644 --- a/mech/mech.mk +++ b/mech/mech.mk @@ -12,7 +12,7 @@ $(BUILD_DIR)/%.gcode: $(BUILD_DIR)/%.stl $(BUILD_DIR)/%.stl: %.scad mkdir -p $(dir $@) - openscad --export-format binstl -o $@ $< + openscad --hardwarnings --export-format binstl -o $@ $< .PHONY: clean clean: -- cgit v1.2.3-70-g09d2