iwa-inspector/Makefile
2024-06-13 12:24:12 -04:00

27 lines
623 B
Makefile

.PHONY: build
build:
npm run build
.PHONY: dev
dev:
npm run dev -- --host
.PHONY: init
init:
npm i
.PHONY: deps
deps: deps-protos deps-messages
.PHONY: deps-protos
deps-protos:
# protos
deno run -rA misc/otorp.ts > public/protos
.PHONY: deps-messages
deps-messages:
# src/messages
deno run -rA misc/dump_registry.ts /Applications/Numbers.app/Contents/MacOS/Numbers > src/messages/numbers.ts
deno run -rA misc/dump_registry.ts /Applications/Keynote.app/Contents/MacOS/Keynote > src/messages/keynote.ts
deno run -rA misc/dump_registry.ts /Applications/Pages.app/Contents/MacOS/Pages > src/messages/pages.ts