Skip to content

Commit

Permalink
fix Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gogo2464 committed Jan 28, 2024
1 parent 7107183 commit 5b30c8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions apps/freenet-email-app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ build-tool:

generate-id-manager-key:
FILE="$(IDENTITY_DELEGATE)/build/identity-manager-key.private.pem"
if [ ! -f $$FILE ]
then
cd $(IDENTITY_DELEGATE) && cargo run -- --path "$(IDENTITY_DELEGATE)/build/"
@if [ ! -f $$FILE ]; then \
cd $(IDENTITY_DELEGATE) && cargo run -- --path "$(IDENTITY_DELEGATE)/build/" \
fi

build-inbox:
Expand Down
9 changes: 4 additions & 5 deletions build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,18 @@ rustup default stable &&
rustup target add wasm32-unknown-unknown &&
(sh curl -L https://git.io/n-install | bash) ;


ls -l /usr/local

if [ "$EUID" -ne 0 ]
then
~/n/bin/n latest ;
~/n/bin/npm install -g typescript webpack
echo 'PATH="~/n/bin/:$PATH"' >> ~/.bashrc
else
/usr/local/n latest ;
/usr/local/n/bin/npm install -g typescript webpack
fi


echo 'PATH="$(npm config get prefix)/bin/:$PATH"' >> ~/.bashrc
source ~/.bashrc

git submodule update --init --recursive &&
export CARGO_TARGET_DIR="$(pwd)/target" &&
Expand All @@ -32,4 +31,4 @@ cd ./modules/identity-management/ && make build &&
cd ../antiflood-tokens/ &&
rm Cargo.lock ;
make build &&
cd ../../apps/freenet-email-app && make build
cd ../../apps/freenet-microblogging && make build

0 comments on commit 5b30c8d

Please sign in to comment.