drone
This commit is contained in:
parent
c570c41f9b
commit
76915fe18a
@ -4,9 +4,9 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang
|
image: golang:1.19
|
||||||
commands:
|
commands:
|
||||||
- GOARCH=amd64 GOOS=linux go build -o bin/gospt main.go
|
- go build -o bin/gospt
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
|
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ srcinfo:
|
|||||||
cd aur && makepkg --printsrcinfo > .SRCINFO
|
cd aur && makepkg --printsrcinfo > .SRCINFO
|
||||||
|
|
||||||
build:
|
build:
|
||||||
GOARCH=amd64 GOOS=linux go build -o bin/${BINARY_NAME} main.go
|
go build -o bin/${BINARY_NAME}
|
||||||
|
|
||||||
run:
|
run:
|
||||||
go run main.go
|
go run main.go
|
||||||
|
@ -12,7 +12,7 @@ source=(
|
|||||||
"https://gitea.asdf.cafe/abs3nt/gospt/releases/download/v${pkgver}/gospt"
|
"https://gitea.asdf.cafe/abs3nt/gospt/releases/download/v${pkgver}/gospt"
|
||||||
)
|
)
|
||||||
sha256sums=(
|
sha256sums=(
|
||||||
'dfacda14f86f51deac5fb8da9a158fa5854de1306edcebf0a8ed46903a06f54d'
|
'c6597d5b3f3762f58f9f750a3e0f5402b9fb507c4b0f3028a037c69eb34d110a'
|
||||||
)
|
)
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
Loading…
Reference in New Issue
Block a user