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
|
|
|
|
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
|