diff --git a/Makefile b/Makefile index 23d2f27ad9..b29d8c04d4 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ export .PHONY: pre-commit -pre-commit: format entities update-index-js +pre-commit: format entities index-js .PHONY: format format: @@ -14,8 +14,8 @@ entities: pnpm run migrate $(MAKE) -C ./packages/backend-rs regenerate-entities -.PHONY: update-index-js -update-index-js: +.PHONY: index-js +index-js: $(MAKE) -C ./packages/backend-rs index.js