This commit is contained in:
Philipp Wolfer 2023-11-24 08:10:50 +01:00
parent e1c9fb6076
commit 3ce0851f45
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
4 changed files with 27 additions and 0 deletions

View file

@ -1,6 +1,8 @@
image: alpine/edge
packages:
- go
- hut
oauth: pages.sr.ht/PAGES:RW
tasks:
- test: |
cd scotty
@ -12,6 +14,9 @@ tasks:
GOOS=linux GOARCH=amd64 go build -o bin/scotty-linux .
GOOS=darwin GOARCH=amd64 go build -o bin/scotty-mac-intel .
GOOS=darwin GOARCH=arm64 go build -o bin/scotty-mac-arm .
- publish-redirect: |
# Update redirect on https://go.uploadedlobster.com/scotty
./scotty/pages/publish.sh
artifacts:
- scotty/bin/scotty.exe
- scotty/bin/scotty-linux