Skip to content

Commit

Permalink
finish shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyboyuyang committed Mar 30, 2024
1 parent 0d02402 commit 5cec4bd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ cd build || exit
# build project
cmake ..

# compile with multiple threads
make -j8

# if build correctly
if [ $? -eq 0 ]; then
# if successfully compiled with multiple threads
if make -j8; then
# start server in background and print its output to the console
./server &
server_pid=$!
Expand Down

0 comments on commit 5cec4bd

Please sign in to comment.