chore: add utility scripts

This commit is contained in:
Kasper Juul Hermansen 2025-01-06 22:02:35 +01:00
parent fda6d10897
commit cb130bc2ac
Signed by: kjuulh
SSH Key Fingerprint: SHA256:RjXh0p7U6opxnfd3ga/Y9TCo18FYlHFdSpRIV72S/QM
5 changed files with 24 additions and 0 deletions

View File

@ -14,3 +14,10 @@ please:
settings: settings:
api_url: https://git.front.kjuulh.io api_url: https://git.front.kjuulh.io
scripts:
run:
type: shell
watch:
type: shell
test:
type: shell

5
scripts/run.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env zsh
set -e pipefail
go run ./cmd/orbis

5
scripts/test.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env zsh
set -e pipefail
gotestsum

6
scripts/watch.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env zsh
set -e pipefail
air --build.cmd "go build -o bin/orbis ./cmd/orbis" --build.bin "./bin/orbis"

1
tmp/build-errors.log Normal file
View File

@ -0,0 +1 @@
exit status 1exit status 1exit status 1exit status 1