2023-04-14 11:58:32 -04:00
|
|
|
version: "3"
|
|
|
|
|
2023-04-14 22:42:44 -04:00
|
|
|
vars:
|
|
|
|
VERSION: 1.0.0
|
|
|
|
VERSION_PKG: go.fifitido.net/ytdl-web/version
|
|
|
|
BUILD:
|
|
|
|
sh: git rev-parse --short HEAD
|
|
|
|
|
2023-04-14 11:58:32 -04:00
|
|
|
tasks:
|
|
|
|
deps: go mod download
|
|
|
|
tidy: go mod tidy
|
2023-04-14 22:42:44 -04:00
|
|
|
build: go build -ldflags="-X {{.VERSION_PKG}}.Version={{.VERSION}} -X {{.VERSION_PKG}}.Build={{.BUILD}}" -o ytdl-web .
|
|
|
|
dev: air
|