Skip to content

Commit

Permalink
Fix command line (non-CI) submodule setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Corry committed Dec 5, 2023
1 parent 7ea4e41 commit 4e4c621
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ all: test
build/CMakeCache.txt:
$(MAKE) rebuild-cmake

.PHONY: install-pkgs
install-pkgs: rebuild-cmake
(cd build && ninja install-pkgs)
(cd tests/toit-png-tools && $(MAKE) rebuild-cmake)
(cd tests/toit-png-tools && cmake -DTOITRUN="$(TOITRUN)" -DTOITPKG="$(TOITPKG)" build)
(cd tests/toit-png-tools && cmake -DTOITRUN:FILEPATH="$${TOITRUN:-toit.run}" -DTOITPKG:FILEPATH="$${TOITPKG:-toit.pkg}" build)
(cd tests/toit-png-tools && $(MAKE) install-pkgs)

test: install-pkgs rebuild-cmake
Expand Down

0 comments on commit 4e4c621

Please sign in to comment.