aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.build.yml b/.build.yml
index aee27f3..79ccb7b 100644
--- a/.build.yml
+++ b/.build.yml
@@ -3,7 +3,7 @@ packages:
- go
- tar
sources:
- - https://git.sr.ht/~yotam/go-gemini-server
+ - https://git.sr.ht/~yotam/shavit
- https://git.sr.ht/~sircmpwn/annotatego
secrets:
- f43da1db-697d-4101-8607-e96f574b035a
@@ -11,21 +11,21 @@ tasks:
- lint: |
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.21.0
go get honnef.co/go/tools/cmd/staticcheck
- cd go-gemini-server
+ cd shavit
go vet
~/go/bin/staticcheck
~/go/bin/golangci-lint run
- test: |
- cd go-gemini-server
+ cd shavit
go test
- build: |
- cd go-gemini-server
+ cd shavit
go build
- annotatego: |
cd annotatego
go build
sudo cp annotatego /usr/bin/
- annotate: |
- cd go-gemini-server
- annotatego -v git.sr.ht/~yotam/go-gemini-server... >annotations.json
- ~/upload-annotations annotations.json yotam go-gemini-server
+ cd shavit
+ annotatego -v git.sr.ht/~yotam/shavit... >annotations.json
+ ~/upload-annotations annotations.json yotam shavit