iwa-inspector/Makefile

27 lines
623 B
Makefile
Raw Permalink Normal View History

2023-05-17 01:56:27 +00:00
.PHONY: build
build:
npm run build
.PHONY: dev
dev:
2023-05-18 00:39:46 +00:00
npm run dev -- --host
2023-05-17 01:56:27 +00:00
2023-09-24 19:48:44 +00:00
.PHONY: init
init:
npm i
2023-05-17 01:56:27 +00:00
.PHONY: deps
2024-06-13 16:23:59 +00:00
deps: deps-protos deps-messages
.PHONY: deps-protos
deps-protos:
2023-05-17 01:56:27 +00:00
# protos
deno run -rA misc/otorp.ts > public/protos
2024-06-13 16:23:59 +00:00
.PHONY: deps-messages
deps-messages:
2023-05-17 01:56:27 +00:00
# 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