1
0
mirror of https://git.sr.ht/~yotam/shavit synced 2024-11-26 06:13:48 +01:00

Change name in build.yml to shavit

This commit is contained in:
Yotam Nachum 2019-12-07 17:36:32 +02:00
parent 3406499b0e
commit 73501365f5

@ -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