Skip to content

Commit

Permalink
Add pluginval test
Browse files Browse the repository at this point in the history
  • Loading branch information
jurihock committed Dec 23, 2023
1 parent 77982f7 commit b2c803b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: help build clean app log plug unplug reset
.PHONY: help build clean app log plug unplug reset test

GENERATOR = Ninja
CONFIG = Release
Expand All @@ -9,6 +9,7 @@ PLUGIN = StftPitchShiftPlugin
INPUT = .
OUTPUT = ./build
ARTEFACTS = $(OUTPUT)/$(PLUGIN)_artefacts/$(CONFIG)
PLUGINVAL = $(OUTPUT)/_deps/pluginval-src/Contents/MacOS/pluginval

help:
@echo build
Expand All @@ -18,6 +19,7 @@ help:
@echo plug
@echo unplug
@echo reset
@echo test

build:
@cmake -G $(GENERATOR) -DCMAKE_BUILD_TYPE=$(CONFIG) $(PLATFORM) $(OPTIONS) -S $(INPUT) -B $(OUTPUT)
Expand All @@ -43,3 +45,6 @@ reset: unplug
@rm -rf ~/Library/Caches/AudioUnitCache
@sudo killall -9 AudioComponentRegistrar
@auval -a

test: plug
@$(PLUGINVAL) --strictness-level 5 --validate ~/Library/Audio/Plug-Ins/Components/$(PLUGIN).component

0 comments on commit b2c803b

Please sign in to comment.