add target to update go.mod

This commit is contained in:
Balakrishnan Balasubramanian 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 .

2
go.mod
View File

@ -2,4 +2,4 @@ module gitlab.com/balki/ytui
go 1.18
require golang.org/x/net v0.0.0-20220708220712-1185a9018129
require golang.org/x/net v0.0.0-20220728211354-c7608f3a8462

4
go.sum
View File

@ -1,2 +1,2 @@
golang.org/x/net v0.0.0-20220708220712-1185a9018129 h1:vucSRfWwTsoXro7P+3Cjlr6flUMtzCwzlvkxEQtHHB0=
golang.org/x/net v0.0.0-20220708220712-1185a9018129/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220728211354-c7608f3a8462 h1:UreQrH7DbFXSi9ZFox6FNT3WBooWmdANpU+IfkT1T4I=
golang.org/x/net v0.0.0-20220728211354-c7608f3a8462/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=