mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-10 23:49:28 +02:00
24 lines
622 B
YAML
24 lines
622 B
YAML
image: archlinux
|
|
packages:
|
|
- go
|
|
- goreleaser-bin
|
|
- hut
|
|
oauth: pages.sr.ht/PAGES:RW
|
|
tasks:
|
|
- test: |
|
|
cd scotty
|
|
go build -v .
|
|
go test -v ./...
|
|
- build: |
|
|
cd scotty
|
|
goreleaser release --snapshot --clean
|
|
- publish-redirect: |
|
|
# Update redirect on https://go.uploadedlobster.com/scotty
|
|
./scotty/pages/publish.sh
|
|
artifacts:
|
|
- scotty/dist/scotty_Darwin_all.tar.gz
|
|
- scotty/dist/scotty_Linux_arm64.tar.gz
|
|
- scotty/dist/scotty_Linux_i386.tar.gz
|
|
- scotty/dist/scotty_Linux_x86_64.tar.gz
|
|
- scotty/dist/scotty_Windows_arm64.zip
|
|
- scotty/dist/scotty_Windows_x86_64.zip
|