Skip to content

Commit

Permalink
Fix recompile.sh (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
beats-dh authored Nov 2, 2021
1 parent 90a5980 commit 23817b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recompile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ then
echo "Clean build directory"
rm -rf *
echo "Configuring"
cmake ..
cmake -DCMAKE_TOOLCHAIN_FILE=../../vcpkg/scripts/buildsystems/vcpkg.cmake ..
else
mkdir "build" && cd build
cmake ..
cmake -DCMAKE_TOOLCHAIN_FILE=../../vcpkg/scripts/buildsystems/vcpkg.cmake ..
fi

make -j$(nproc) || exit 1
Expand All @@ -24,5 +24,5 @@ else
echo "Saving old build"
mv ./canary ./canary.old
fi
cp ./build/canary ./canary
cp ./build/bin/canary ./canary
fi

0 comments on commit 23817b3

Please sign in to comment.