2018-12-28 15:37:07 +01:00
|
|
|
.PHONY: build build-debug run clean default install
|
2018-12-28 00:56:47 +01:00
|
|
|
|
2020-03-14 21:25:33 +01:00
|
|
|
default: build
|
2018-12-28 00:56:47 +01:00
|
|
|
|
|
|
|
build:
|
|
|
|
meson build
|
|
|
|
ninja -C build
|
|
|
|
|
2018-12-28 15:37:07 +01:00
|
|
|
build-debug:
|
|
|
|
meson build --buildtype=debug
|
|
|
|
ninja -C build
|
|
|
|
|
|
|
|
install: build
|
|
|
|
ninja -C build install
|
|
|
|
|
2018-12-28 00:56:47 +01:00
|
|
|
run: build
|
|
|
|
./build/waybar
|
|
|
|
|
2021-09-18 01:20:16 +02:00
|
|
|
debug-run: build-debug
|
2021-09-09 20:05:18 +02:00
|
|
|
./build/waybar --log-level debug
|
|
|
|
|
2023-03-13 01:50:19 +01:00
|
|
|
test:
|
|
|
|
meson test -C build --no-rebuild --verbose --suite waybar
|
|
|
|
.PHONY: test
|
|
|
|
|
2018-12-28 00:56:47 +01:00
|
|
|
clean:
|
|
|
|
rm -rf build
|