2020-12-19 05:12:20 +00:00
|
|
|
#!/usr/bin/env bash
|
2024-06-03 07:52:56 +00:00
|
|
|
set -eEu -o pipefail
|
|
|
|
shopt -s extdebug
|
|
|
|
IFS=$'\n\t'
|
|
|
|
|
2020-12-19 05:12:20 +00:00
|
|
|
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
|
|
|
|
cd "$parent_path/bookie" || exit
|
2021-06-14 02:10:43 +00:00
|
|
|
npx prettier --write src/app
|
2020-12-19 05:12:20 +00:00
|
|
|
npx ng lint --fix
|
2024-06-03 07:52:56 +00:00
|
|
|
|
2020-12-19 05:12:20 +00:00
|
|
|
cd "$parent_path/barker" || exit
|
2024-06-03 07:52:56 +00:00
|
|
|
ruff format .
|
|
|
|
ruff check . # Lint all files in the current directory (and any subdirectories)
|
|
|
|
bandit --recursive brewman
|
|
|
|
bandit --recursive .
|
|
|
|
safety check
|