nix-flake-outputs-size/utils.sh
Jalil David Salamé Messina 01fae63422
Some checks failed
/ check (treefmt) (push) Successful in 5s
/ check-renovaterc (push) Successful in 2s
/ report-size (push) Failing after 0s
feat: add nix for formatting
Also adds CI tests!
2025-03-10 23:20:33 +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::'
}