Skip to content

Commit

Permalink
fix Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gogo2464 committed Jan 30, 2024
1 parent 6aa1ec4 commit eedf043
Showing 1 changed file with 4 additions and 5 deletions.
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 eedf043

Please sign in to comment.