From fa9f3a6dc52ca3739b97ed8b92ec6538a9b43e54 Mon Sep 17 00:00:00 2001 From: Paul Riou Date: Mon, 13 Mar 2023 00:50:19 +0000 Subject: [PATCH] make:Add phony 'test' rule --- .github/workflows/linux.yml | 2 +- Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c82af85b..1c00a5ed 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -29,4 +29,4 @@ jobs: - name: build run: ninja -C build - name: test - run: meson test -C build --no-rebuild --verbose --suite waybar + run: make test diff --git a/Makefile b/Makefile index 94f8ee6e..b1dbfc6e 100644 --- a/Makefile +++ b/Makefile @@ -19,5 +19,9 @@ run: build debug-run: build-debug ./build/waybar --log-level debug +test: + meson test -C build --no-rebuild --verbose --suite waybar +.PHONY: test + clean: rm -rf build