Skip to content

Commit

Permalink
Check status of upload/install-otheros/otheros targets in Makefile
Browse files Browse the repository at this point in the history
Need to actuall fail if any of the sequence of commands fail.

Signed-off-by: Keith Packard <keithp@keithp.com>
keith-packard committed Nov 21, 2024
1 parent 30d3949 commit ff496af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -46,13 +46,13 @@ install: all

upload: otheros
+cd doc && make upload
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make upload); done
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make upload) || exit 1; done

install-otheros: otheros install
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make install-otheros); done
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make install-otheros) || exit 1; done

otheros: all
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make); done
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make) || exit 1; done

snek-mu.py:
find . -name '*.builtin' -print0 | xargs -0 python3 ./snek-builtin.py --mu -o $@

0 comments on commit ff496af

Please sign in to comment.