feat: add nix for formatting
Also adds CI tests!
This commit is contained in:
parent
58249e9ad0
commit
73142cfab8
9 changed files with 314 additions and 121 deletions
12
utils.sh
12
utils.sh
|
@ -1,19 +1,21 @@
|
|||
#!/bin/sh
|
||||
|
||||
log() {
|
||||
echo "$@" >&2
|
||||
echo "$@" >&2
|
||||
}
|
||||
|
||||
warn() {
|
||||
log "\e[0;33m[ERROR]:" "$@" "\e[0m"
|
||||
log "\e[0;33m[ERROR]:" "$@" "\e[0m"
|
||||
}
|
||||
|
||||
error() {
|
||||
log "\e[0;31m[WARN]:" "$@" "\e[0m"
|
||||
log "\e[0;31m[WARN]:" "$@" "\e[0m"
|
||||
}
|
||||
|
||||
group() {
|
||||
log "::group::$1"
|
||||
log "::group::$1"
|
||||
}
|
||||
|
||||
endgroup() {
|
||||
log '::endgroup::'
|
||||
log '::endgroup::'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue