iwa-inspector/Makefile
2023-09-24 15:48:44 -04:00

21 lines
525 B
Makefile

.PHONY: build
build:
npm run build
.PHONY: dev
dev:
npm run dev -- --host
.PHONY: init
init:
npm i
.PHONY: deps
deps:
# protos
deno run -rA misc/otorp.ts > public/protos
# 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