Skip to content

Commit

Permalink
Automate submodule checkout in make check
Browse files Browse the repository at this point in the history
  • Loading branch information
kmontag committed Dec 10, 2024
1 parent 4f4140a commit c570dd4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ format: .make.install
$(POETRY) run ruff check --fix .

.PHONY: check
check: .make.install
check: .make.install __ext__/AbletonLive12_MIDIRemoteScripts/README.md
$(POETRY) run pyright .

.PHONY: test
Expand All @@ -42,6 +42,10 @@ clean:
rm -rf .venv/
rm -f .make.*

# Proxy target for the remote scripts submodule.
__ext__/AbletonLive12_MIDIRemoteScripts/README.md: .gitmodules
git submodule update --init "$(@D)"

# Set files with different configurations for testing.
$(TEST_PROJECT_DIR)/%.als: .make.install $(TEST_PROJECT_DIR)/create_set.py
$(POETRY) run python $(TEST_PROJECT_DIR)/create_set.py $*
Expand Down

0 comments on commit c570dd4

Please sign in to comment.