From 4c14ce70c6f9f5d847875d6754e3e08bd4a15a11 Mon Sep 17 00:00:00 2001 From: Lucy C <12953208+elvece@users.noreply.github.com> Date: Tue, 1 Feb 2022 13:52:13 -0700 Subject: [PATCH] fix circular dependency warning (#1161) * fix circular dependency warning --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f6229b2ba..57c8398d9 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,8 @@ EMBASSY_UIS := frontend/dist/ui frontend/dist/setup-wizard frontend/dist/diagnos EMBASSY_SRC := ubuntu.img product_key.txt $(EMBASSY_BINS) backend/embassyd.service backend/embassy-init.service $(EMBASSY_UIS) $(shell find build) COMPAT_SRC := $(shell find system-images/compat/src) UTILS_SRC := $(shell find system-images/utils/Dockerfile) -APPMGR_SRC := $(shell find backend/src) $(shell find patch-db/*/src) $(shell find rpc-toolkit/*/src) backend/Cargo.toml backend/Cargo.lock -FRONTEND_SRC := $(shell find frontend/) +BACKEND_SRC := $(shell find backend/src) $(shell find patch-db/*/src) $(shell find rpc-toolkit/*/src) backend/Cargo.toml backend/Cargo.lock +FRONTEND_SRC := $(shell find frontend/projects) $(shell find frontend/styles) $(shell find frontend/assets) PATCH_DB_CLIENT_SRC = $(shell find patch-db/client -not -path patch-db/client/dist) GIT_REFS := $(shell find .git/refs/heads) TMP_FILE := $(shell mktemp) @@ -48,7 +48,7 @@ product_key.txt: if [ "$(KEY)" != "" ]; then $(shell which echo) -n "$(KEY)" > product_key.txt; fi echo >> product_key.txt -$(EMBASSY_BINS): $(APPMGR_SRC) +$(EMBASSY_BINS): $(BACKEND_SRC) cd backend && ./build-prod.sh frontend/node_modules: frontend/package.json