Skip to content

Commit e51f66b

Browse files
authored
Merge pull request #12 from jm6271:update-readme
Fix build instructions in readme
2 parents 9944fe3 + 63eee8f commit e51f66b

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

readme.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,23 @@ cd loc
6060
# setup vcpkg
6161
git clone https://github.com/microsoft/vcpkg.git
6262
cd vcpkg
63-
./bootstrap-vcpkg..sh
63+
./bootstrap-vcpkg.sh
6464
cd ..
6565
export VCPKG_ROOT=$(pwd)/vcpkg
6666
export PATH=${VCPKG_ROOT}:${PATH}
6767

68-
# Create build directory and configure
69-
mkdir -p build
70-
cd build
71-
cmake --preset=linux-release ..
68+
# configure
69+
cmake --preset=linux-release .
7270

7371
# Build the project
74-
cd ../out/build/linux-release
72+
cd out/build/linux-release
7573
ninja
76-
cd ../../..
74+
75+
# Run the tests
76+
cd loc.tests
77+
./loc.tests
78+
79+
# release binary is located at out/build/linux-release/loc/loc
7780
```
7881

7982
## Usage

0 commit comments

Comments
 (0)