highlighting
This commit is contained in:
parent
4c775286ef
commit
7e898e720b
7 changed files with 44 additions and 12 deletions
25
deps.sh
Executable file
25
deps.sh
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/sh
|
||||
|
||||
which dnf 2> /dev/null
|
||||
if [[ $? == 0 ]]; then
|
||||
sudo dnf install python3-pygments
|
||||
else
|
||||
echo 'failed to install pygments with dnf' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
which opam 2> /dev/null
|
||||
if [[ $? == 0 ]]; then
|
||||
opam install -y soupault
|
||||
else
|
||||
echo 'failed to install soupault with opam' >&2
|
||||
exit 2
|
||||
fi
|
||||
|
||||
which cargo 2> /dev/null
|
||||
if [[ $? == 0 ]]; then
|
||||
cargo install jotdown
|
||||
else
|
||||
echo 'failed to install jotdown with cargo'
|
||||
exit 3
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue