Add ez-assistant and kerberos service folders
This commit is contained in:
5
docker-compose/ez-assistant/Swabble/scripts/format.sh
Executable file
5
docker-compose/ez-assistant/Swabble/scripts/format.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
CONFIG="${ROOT}/.swiftformat"
|
||||
swiftformat --config "$CONFIG" "$ROOT/Sources"
|
||||
9
docker-compose/ez-assistant/Swabble/scripts/lint.sh
Executable file
9
docker-compose/ez-assistant/Swabble/scripts/lint.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
CONFIG="${ROOT}/.swiftlint.yml"
|
||||
if ! command -v swiftlint >/dev/null; then
|
||||
echo "swiftlint not installed" >&2
|
||||
exit 1
|
||||
fi
|
||||
swiftlint --config "$CONFIG"
|
||||
Reference in New Issue
Block a user