Files
Waybar/Makefile
Austin Horstman 25ac6b7a80 refactor(makefile): allow build on test command
meson will skip building, if not needed, but we want to make sure we're
actually testing what we expect.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-13 14:09:01 -05:00

32 lines
515 B
Makefile

.PHONY: build build-debug run clean default install
default: build
build:
meson setup build
ninja -C build
build-debug:
meson setup build --buildtype=debug
ninja -C build
install: build
ninja -C build install
run: build
./build/waybar
debug-run: build-debug
./build/waybar --log-level debug
test:
meson test -C build --verbose --suite waybar
.PHONY: test
test-detailed:
meson test -C build --verbose --print-errorlogs --test-args='--reporter console -s'
.PHONY: test-detailed
clean:
rm -rf build