20 lines
492 B
Bash
Executable File
20 lines
492 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eEu -o pipefail
|
|
shopt -s extdebug
|
|
IFS=$'\n\t'
|
|
|
|
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
|
|
cd "$parent_path/bookie" || exit
|
|
npx prettier --write src/app
|
|
npx ng lint --fix
|
|
|
|
cd "$parent_path/barker" || exit
|
|
uv run ruff format .
|
|
uv run ruff check . --fix
|
|
uv run bandit --recursive barker
|
|
uv run bandit --recursive .
|
|
uv run safety check
|
|
uvx ansible-lint ../ansible --fix
|
|
uvx ansible-lint ../netbird --fix
|
|
uvx ansible-lint ../frank/ansible --fix
|