Skip to content

Commit

Permalink
Install a statically linked version of dot.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpallant committed Nov 20, 2024
1 parent d555595 commit 2e40caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [ $(uname) == "Darwin" ]; then
&& rm -rf ./mdslides-*/ )
else
./mdbook --version || curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz | tar -xvzf -
dot --version || ( apt-get update -y && apt-get install -y graphviz )
dot --version || ( curl -ssL https://github.com/restruct/dot-static/raw/refs/heads/master/x64/dot_static -o ./dot && chmod a+x ./dot )
./mdbook-graphviz --version || ( curl -sSL https://github.com/dylanowen/mdbook-graphviz/releases/download/v0.2.1/mdbook-graphviz_v0.2.1_x86_64-unknown-linux-musl.zip -o mdbook-graphviz.zip \
&& unzip mdbook-graphviz.zip \
&& rm mdbook-graphviz.zip \
Expand Down

0 comments on commit 2e40caf

Please sign in to comment.