-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
executable file
·61 lines (43 loc) · 1.13 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Build:
.PHONY: build
build:
gnome-extensions pack --schema=schemas/org.gnome.shell.extensions.sermon.gschema.xml --extra-source=src/ --extra-source=images/ --force
.PHONY: build-settings
build-settings:
glib-compile-schemas schemas/
# Install:
.PHONY: install
install:
gnome-extensions install [email protected] --force
@echo "Remember to restart GNOME Shell: press 'Alt'+'F2', type 'r' and press enter."
.PHONY: install-checkstyle
install-checkstyle:
@npm install
.PHONY: install-githooks
install-githooks:
@pip3 install pre-commit
pre-commit install
.PHONY: uninstall-githooks
uninstall-githooks:
pre-commit uninstall
.PHONY: enable
enable:
gnome-extensions enable [email protected]
.PHONY: disable
disable:
gnome-extensions disable [email protected]
# Debug:
.PHONY: show-logs
show-logs:
journalctl /usr/bin/gnome-shell -f -o cat
# Test:
.PHONY: test
test:
NODE_OPTIONS=--experimental-vm-modules npx jest
.PHONY: test-coverage
test-coverage:
NODE_OPTIONS=--experimental-vm-modules npx jest --coverage
.PHONY: checkstyle
checkstyle:
npx prettier --write .
npx eslint .