From 85b28f13d2472813cdb66151dcf0407b39b3d5c3 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 12 May 2020 21:10:21 +1000 Subject: [PATCH] avoid installing pyaudio on every run --- qt/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qt/Makefile b/qt/Makefile index 879acf434..9193df37d 100644 --- a/qt/Makefile +++ b/qt/Makefile @@ -70,11 +70,12 @@ BUILD_STEPS := .build/vernum .build/run-deps .build/dev-deps .build/js .build/ui ###################### .PHONY: check -check: pyaudio $(BUILD_STEPS) .build/mypy .build/test .build/fmt .build/imports .build/lint .build/ts-fmt +check: .build/pyaudio $(BUILD_STEPS) .build/mypy .build/test .build/fmt .build/imports .build/lint .build/ts-fmt # https://github.com/ankitects/anki/pull/611 - Automatically install pyaudio when running make check -pyaudio: +.build/pyaudio: python -m pip install pyaudio + @touch $@ .PHONY: fix fix: $(BUILD_STEPS)