Преглед изворни кода

Fix formatting and comments in setup-deps.sh

Correct formatting and improve comments in setup-deps.sh.
Adam Djellouli пре 2 месеци
родитељ
комит
9227adc112
1 измењених фајлова са 12 додато и 15 уклоњено
  1. 12 15
      scripts/setup-deps.sh

+ 12 - 15
scripts/setup-deps.sh

@@ -1,20 +1,17 @@
-#!/ usr / bin / env bash
-#Standard - of - Iron — dependency checker and auto -                          \
-    installer(Debian / Ubuntu + Arch / Manjaro + macOS / Homebrew)
+#!/usr/bin/env bash
+# Standard-of-Iron — dependency checker and auto-installer
+# (Debian/Ubuntu + Arch/Manjaro + macOS/Homebrew)
 #
-#Verifies required toolchain and Qt /                                          \
-    QML runtime modules and installs any missing ones.
-#Safe to run multiple times.Requires sudo privileges for Linux installation;   \
-    Homebrew for macOS.
-#
-#Usage:
-#./ scripts / setup - deps.sh #interactive install as needed
-#./ scripts / setup - deps.sh -- yes #non - interactive(assume yes)
-#./ scripts / setup - deps.sh -- dry - run #show actions without installing
-#./ scripts / setup - deps.sh -- no - install #only verify, do not install
-#./ scripts / setup - deps.sh -- allow -                                       \
-    similar #allow proceeding on similar distros
+# Verifies required toolchain and Qt/QML runtime modules and installs any missing ones.
+# Safe to run multiple times. Requires sudo privileges for Linux installation; Homebrew for macOS.
 #
+# Usage:
+#   ./scripts/setup-deps.sh                  # interactive install as needed
+#   ./scripts/setup-deps.sh --yes            # non-interactive (assume yes)
+#   ./scripts/setup-deps.sh --dry-run        # show actions without installing
+#   ./scripts/setup-deps.sh --no-install     # only verify, do not install
+#   ./scripts/setup-deps.sh --allow-similar  # allow proceeding on similar distros
+
 set -euo pipefail
 
 MIN_CMAKE="3.21.0"