-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (24 loc) · 810 Bytes
/
Makefile
File metadata and controls
32 lines (24 loc) · 810 Bytes
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
BUNDLE_PATH = "[email protected]"
EXTENSION_DIR = "[email protected]"
all: build install
.PHONY: build install translations pot test publish
build:
rm -f $(BUNDLE_PATH)
cd $(EXTENSION_DIR); \
gnome-extensions pack --force --podir=locale \
--extra-source=preferences/ \
--extra-source=icons/ \
--extra-source=COPYING; \
mv $(EXTENSION_DIR).shell-extension.zip ../$(BUNDLE_PATH)
install:
gnome-extensions install $(BUNDLE_PATH) --force
@./post-install.sh
translations:
./update-locale.sh
pot:
./update-locale.sh -a
test:
./test-in-nested-session.sh
# https://github.com/swsnr/ego-upload from swsnr
publish:
gnome-extensions upload --accept-tos $(BUNDLE_PATH) || ego-upload $(BUNDLE_PATH)