chore: add utility scripts
This commit is contained in:
parent
fda6d10897
commit
cb130bc2ac
@ -14,3 +14,10 @@ please:
|
||||
settings:
|
||||
api_url: https://git.front.kjuulh.io
|
||||
|
||||
scripts:
|
||||
run:
|
||||
type: shell
|
||||
watch:
|
||||
type: shell
|
||||
test:
|
||||
type: shell
|
||||
|
5
scripts/run.sh
Executable file
5
scripts/run.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
set -e pipefail
|
||||
|
||||
go run ./cmd/orbis
|
5
scripts/test.sh
Executable file
5
scripts/test.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
set -e pipefail
|
||||
|
||||
gotestsum
|
6
scripts/watch.sh
Executable file
6
scripts/watch.sh
Executable 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
1
tmp/build-errors.log
Normal file
@ -0,0 +1 @@
|
||||
exit status 1exit status 1exit status 1exit status 1
|
Loading…
Reference in New Issue
Block a user