-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (19 loc) · 735 Bytes
/
Makefile
File metadata and controls
23 lines (19 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: main
main: swift typescript extension
.PHONY: schema
schema: swift typescript
.PHONY: swift
swift:
quicktype -o Svadilfari/SharedTypes.swift --mutable-properties --src-lang schema $(shell find Schema -name '*.yml' -type f)
.PHONY: typescript
typescript:
quicktype -o Web/packages/core/src/SharedTypes.ts --nice-property-names --src-lang schema $(shell find Schema -name '*.yml' -type f)
.PHONY: extension
extension:
cd Web && pnpm build:extension
# Generate toolbar icons
.PHONY: extension-toolbar-icon
extension-toolbar-icon:
for size in 16 19 32 38; do \
rsvg-convert -w $$size -h $$size -o SvadilfariExtension/Resources/images/toolbar-icon-$$size.png SvadilfariExtension/Resources/images/toolbar-icon.svg; \
done