dev: update Makefile

This commit is contained in:
naskya 2024-05-01 17:48:37 +09:00
parent f85e6ebb19
commit d82f212c24
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -3,7 +3,7 @@ export
.PHONY: pre-commit .PHONY: pre-commit
pre-commit: format entities napi-index pre-commit: format entities napi
.PHONY: format .PHONY: format
format: format:
@ -11,11 +11,12 @@ format:
.PHONY: entities .PHONY: entities
entities: entities:
pnpm --filter=backend run build:debug
pnpm run migrate pnpm run migrate
$(MAKE) -C ./packages/backend-rs regenerate-entities $(MAKE) -C ./packages/backend-rs regenerate-entities
.PHONY: napi-index .PHONY: napi
napi-index: napi:
$(MAKE) -C ./packages/backend-rs update-index $(MAKE) -C ./packages/backend-rs update-index