nix-flake-outputs-size/utils.sh
Jalil David Salamé Messina 73142cfab8
All checks were successful
/ check (treefmt) (push) Successful in 3s
/ check-renovaterc (push) Successful in 2s
/ report-size (push) Successful in 2s
feat: add nix for formatting
Also adds CI tests!
2025-03-10 23:22:13 +01:00

21 lines
207 B
Bash
Executable file

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