mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-13 20:59:36 +00:00
8 lines
No EOL
251 B
Bash
Executable file
8 lines
No EOL
251 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [ ! -f "$PWD/.venv/bin/mkdocs" ] || [ $FF_DEPS_REFRESH != "true" ]; then
|
|
"$PWD/.venv/bin/pip3" install -r requirements.txt
|
|
fi
|
|
|
|
# enable embeding commit info in previews
|
|
FF_ENABLE_COMMIT_DATA=true "$PWD/.venv/bin/mkdocs" serve |