avoid installing pyaudio on every run

This commit is contained in:
Damien Elmes 2020-05-12 21:10:21 +10:00
parent 66809dd8a3
commit 85b28f13d2

View file

@ -70,11 +70,12 @@ BUILD_STEPS := .build/vernum .build/run-deps .build/dev-deps .build/js .build/ui
###################### ######################
.PHONY: check .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 # https://github.com/ankitects/anki/pull/611 - Automatically install pyaudio when running make check
pyaudio: .build/pyaudio:
python -m pip install pyaudio python -m pip install pyaudio
@touch $@
.PHONY: fix .PHONY: fix
fix: $(BUILD_STEPS) fix: $(BUILD_STEPS)