update Makefile to use js script

This commit is contained in:
Aiden McClelland
2022-02-25 22:08:02 -07:00
committed by Aiden McClelland
parent 4637aa6262
commit faf0b4db6e

View File

@@ -60,7 +60,7 @@ $(EMBASSY_UIS): $(FRONTEND_SRC) frontend/node_modules patch-db/client patch-db/c
frontend/config.json: .git/HEAD $(GIT_REFS)
jq '.useMocks = false' frontend/config-sample.json > frontend/config.json
jq '.gitHash = "$(shell git rev-parse HEAD)"' frontend/config.json > $(TMP_FILE) && mv $(TMP_FILE) frontend/config.json
npm --prefix frontend run-script build-config
patch-db/client/node_modules: patch-db/client/package.json
npm --prefix patch-db/client install