mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 18:01:39 +00:00
feat: introduce Taskfile automation for build and deployment
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
version: "3"
|
||||
|
||||
vars:
|
||||
GOPATH:
|
||||
sh: go env GOPATH
|
||||
OS:
|
||||
sh: uname -s
|
||||
ARCH:
|
||||
sh: uname -m
|
||||
|
||||
tasks:
|
||||
install-go:
|
||||
desc: Install go dependencies
|
||||
silent: true
|
||||
vars:
|
||||
DEPS:
|
||||
[
|
||||
"github.com/apple/pkl-go/cmd/pkl-gen-go@latest",
|
||||
"github.com/sqlc-dev/sqlc/cmd/sqlc@latest",
|
||||
"github.com/goreleaser/goreleaser/v2@latest",
|
||||
"github.com/a-h/templ/cmd/templ@latest",
|
||||
]
|
||||
cmds:
|
||||
- for: { var: DEPS }
|
||||
cmd: gum spin --spinner dot --title "Installing go dependencies..." -- go install {{.ITEM}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user