add target to update go.mod

This commit is contained in:
2022-07-29 22:24:42 -04:00
parent 9624a7f1bf
commit a25c1b3fb8
3 changed files with 8 additions and 3 deletions

View File

@@ -3,6 +3,11 @@ update-bootstrap:
curl -L "https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css" -o assets/bootstrap.min.css
curl -L "https://cdn.jsdelivr.net/npm/bootstrap@5/dist/js/bootstrap.min.js" -o assets/bootstrap.min.js
update-go-deps:
rm go.sum
printf "module gitlab.com/balki/ytui\ngo 1.18" > go.mod
go mod tidy
build:
go build .