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