Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from Alpaca-zip/feature/minor_fix
Browse files Browse the repository at this point in the history
minor fix
  • Loading branch information
Alpaca-zip committed Jul 31, 2023
2 parents 2c27bd4 + 63ac691 commit b89f08f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ This repository contains an implementation of Dijkstra's Algorithm in C++.
```
$ git clone https://github.com/Alpaca-zip/dijkstra_algorithm.git
```
### 2. Compile the program using a C++ compiler.
### 2. Install dependencies and compile the program.
```
$ sudo apt-get install -y libboost-all-dev
$ bash build.sh
```
### 3. Run the program.
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash
# Tested on Ubuntu-20.04
# Tested on Ubuntu-22.04

cmake -S . -B build
cmake --build build
cd ./build/
Expand Down
2 changes: 2 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

./dijkstra.out
dot -Tpdf graph.dot -o graph.pdf
rm graph.dot

0 comments on commit b89f08f

Please sign in to comment.