From 79a08a536cbc394c9b4a97b679c4dd4e8c57c2bd Mon Sep 17 00:00:00 2001 From: gogo Date: Sun, 28 Jan 2024 22:11:25 +0100 Subject: [PATCH] fix email app --- apps/freenet-email-app/Makefile | 4 ++++ build-all.sh | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/apps/freenet-email-app/Makefile b/apps/freenet-email-app/Makefile index c40e8575b..8a432d508 100644 --- a/apps/freenet-email-app/Makefile +++ b/apps/freenet-email-app/Makefile @@ -19,6 +19,10 @@ IDENTITY_DELEGATE := $(FREENET_ROOT)$(PATH_SEP)modules$(PATH_SEP)identity-manage WEB_DIR_SRC := $(ROOT)$(PATH_SEP)web$(PATH_SEP)src FILE := $(IDENTITY_DELEGATE)$(PATH_SEP)build$(PATH_SEP)identity-manager-key.private.pem +IDENTITY_DELEGATE_PRIVATE_KEY := identity-manager-key.private.pem +PATH_TO_IDENTITY_DELEGATE := $(IDENTITY_DELEGATE)/build/$(IDENTITY_DELEGATE_PRIVATE_KEY) + + ifeq ($(CARGO_TARGET_DIR),) $(error CARGO_TARGET_DIR is not set) endif diff --git a/build-all.sh b/build-all.sh index 375158842..0f7295bbe 100644 --- a/build-all.sh +++ b/build-all.sh @@ -28,8 +28,7 @@ cd ../.. && cargo install --path crates/core --force && cargo install --path crates/fdev --force && cd ./modules/identity-management/ && make build && -cd ../antiflood-tokens/ && -rm Cargo.lock ; -make build && -cd ../../apps/freenet-microblogging && make build && -cd ../../apps/freenet-email-app && make build +cd ../antiflood-tokens/ && rm Cargo.lock ; make build && +cd ../../ && +make -C ./apps/freenet-microblogging build && +make -C ./apps/freenet-email-app build