forked from material-shell/material-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (27 loc) · 837 Bytes
/
Makefile
File metadata and controls
36 lines (27 loc) · 837 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
33
34
35
36
extension = material-shell@papyelgringo
extension_tool = gnome-shell-extension-tool
.PHONY: schemas sass
build_tasks: schemas sass
schemas: schemas/gschemas.compiled
glib-compile-schemas schemas/
sass:
npx node-sass src/styles/dark-theme.scss style-dark-theme.css
npx node-sass src/styles/light-theme.scss style-light-theme.css
npx node-sass src/styles/primary-theme.scss style-primary-theme.css
disable:
$(extension_tool) -d $(extension)
enable:
$(extension_tool) -e $(extension)
reload:
$(extension_tool) -r $(extension)
build_prod: schemas sass
rm -f dist.zip
zip -r dist.zip assets
zip -r dist.zip schemas
zip -r dist.zip src
zip dist.zip extension.js
zip dist.zip prefs.js
zip dist.zip metadata.json
zip dist.zip style-dark-theme.css
zip dist.zip style-light-theme.css
zip dist.zip style-primary-theme.css