-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathMakefile
More file actions
61 lines (49 loc) · 1.42 KB
/
Copy pathMakefile
File metadata and controls
61 lines (49 loc) · 1.42 KB
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
.PHONY: \
chromium firefox safari \
publish-chromium publish-edge publish-firefox \
publish-safari-macos publish-safari-ios
sources := Makefile \
tools/make-package.sh \
$(shell find ./src -type f) \
build/uBO-Scope.chromium: $(sources) platform/chromium/*
tools/make-chromium.sh
chromium: build/uBO-Scope.chromium
build/uBO-Scope.firefox: $(sources) platform/firefox/*
tools/make-firefox.sh
firefox: build/uBO-Scope.firefox
build/uBO-Scope.safari: $(sources) platform/safari/*
tools/make-safari.sh
safari: build/uBO-Scope.safari
# Usage: make publish-chromium version=?
publish-chromium:
node publish-extension/publish-chromium.js \
ghowner=gorhill \
ghrepo=uBO-Scope \
ghtag=$(version) \
ghasset=chromium \
storeid=bbdpgcaljkaaigfcomhidmneffjjjfgp
publish-edge:
node publish-extension/publish-edge.js \
ghowner=gorhill \
ghrepo=uBO-Scope \
ghtag=$(version) \
ghasset=chromium \
storeid=maybe \
productid=$(maybe)
# Usage: make publish-firefox version=?
publish-firefox:
node publish-extension/publish-firefox.js \
ghowner=gorhill \
ghrepo=uBO-Scope \
ghtag=$(version) \
ghasset=firefox \
channel=listed
# Usage: make publish-safari-macos version=?
publish-safari-macos:
node dist/safari/publish-extension.js \
ghtag=$(version) macos
# Usage: make publish-safari-ios version=?
publish-safari-ios:
node dist/safari/publish-extension.js \
ghtag=$(version) ios