refactor: move scripts to scripts folder
All checks were successful
/ check (treefmt) (push) Successful in 2s
/ report-size (push) Successful in 1s
/ report-download-check (push) Successful in 0s

This is a bit tidier.
This commit is contained in:
Jalil David Salamé Messina 2025-07-10 20:26:19 +02:00
parent 95718c754d
commit 9364b5d352
Signed by: jalil
GPG key ID: F016B9E770737A0B
7 changed files with 94 additions and 98 deletions

21
scripts/utils.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/sh
log() {
echo "$@" >&2
}
warn() {
log "\e[0;33m[ERROR]:" "$@" "\e[0m"
}
error() {
log "\e[0;31m[WARN]:" "$@" "\e[0m"
}
group() {
echo "::group::$1"
}
endgroup() {
echo '::endgroup::'
}