mirror of
https://github.com/ublue-os/bazzite.git
synced 2024-12-29 12:22:20 +00:00
a6e1eec678
* chore(docs): Add fmt command to Justfile * chore(docs): Format markdown files * chore(docs): Minor tweaks to Justfile * chore(docs): Fix headers in handheld wiki * chore(docs): Fix headers in Steam Gaming Mode page * chore(docs): Fix headers in FAQ page * chore(docs): Fix italic text in Installation Guide index * chore(docs): Fix headers in Installation Guide pages * chore(docs): Fix headers in Desktop Environment Tweaks page * chore(docs): Fix headers in Reporting Bugs page * chore(docs): Remove duplicated contributing page * chore(docs): Fix headers in Contributing to Bazzite page * chore(docs): Combine multiple blockquotes in one in Automounting page * chore(docs): Fix broken ordered list * chore(docs): Remove unnecesary announcement bar * chore(docs): Fix headers in Gaming pages * chore(docs): Add missing headers in Framework laptops install guides * chore(docs): Add author metadata Adresses issue #1661 regarding lacking authors section * chore(docs): Add authors list to pages
34 lines
686 B
Bash
34 lines
686 B
Bash
#!/bin/env bash
|
|
|
|
REPO_DIR="$(git rev-parse --show-toplevel)"
|
|
|
|
function echod() { echo "[DEBUG]: $*"; }
|
|
|
|
if ! command -v brew >/dev/null; then
|
|
echod "This script needs 'brew' to run"
|
|
exit 1
|
|
fi
|
|
if ! command -v poetry >/dev/null; then
|
|
echod "Installing Poetry"
|
|
brew install poetry
|
|
fi
|
|
if ! command -v just >/dev/null; then
|
|
echod "Installing just"
|
|
brew install just
|
|
fi
|
|
if ! command -v just >/dev/null; then
|
|
brew install prettier
|
|
fi
|
|
|
|
# Install poetry project
|
|
echod "Setting up poetry project"
|
|
(
|
|
cd "$REPO_DIR"/docs
|
|
mkdir -p .venv
|
|
poetry install
|
|
) || {
|
|
echod "Error setting up poetry project"
|
|
exit 1
|
|
}
|
|
echod "Dependencies installed succesfully"
|