mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-08-14 18:40:35 +03:00
This makes it possible to name targets whatever we want and makes us less dependant on the NPM (i.e. a preparation for NPM removal).
38 lines
639 B
Makefile
38 lines
639 B
Makefile
# SPDX-FileCopyrightText: Mikhail Zolotukhin <mail@gikari.com>
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
all: build
|
|
|
|
clean:
|
|
scripts/clean.sh
|
|
|
|
build:
|
|
scripts/build.sh
|
|
|
|
sysdep-install:
|
|
scripts/sysdep-install.sh
|
|
|
|
install: build
|
|
scripts/install.sh
|
|
|
|
uninstall:
|
|
scripts/uninstall.sh
|
|
|
|
restart-kwin-x11:
|
|
kwin_x11 --replace & disown
|
|
|
|
restart-plasma:
|
|
plasmashell --replace & disown
|
|
|
|
docs:
|
|
npx typedoc --out build/docs
|
|
|
|
test:
|
|
scripts/test.sh
|
|
|
|
setup-dev-env: sysdep-install
|
|
pre-commit install
|
|
npm install # Install development dependencies
|
|
|
|
.PHONY: clean build sysdep-install install uninstall restart-kwin-x11 restart-plasma docs test setup-dev-env
|