Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
cbears committed Nov 15, 2024
1 parent be54e15 commit bcee041
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ if [ ! -d "build" ]; then
mkdir build && cd build && cmake ../libdtn && cd .. || (echo cargo:error="CMAKE BUILD FAILED" && cd .. && rmdir build)
fi

cd build && make -j 24 && cd .. && cargo build || echo cargo:error="MAKE FAILED"
if [ -z $1 ]; then
cd build && make -j 24 && cd .. && cargo build || echo cargo:error="MAKE FAILED"
else
cd build && make -j 24 && cd .. || echo cargo:error="MAKE FAILED"
fi

0 comments on commit bcee041

Please sign in to comment.