mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
Handle missing go.mod, go.sum
This commit is contained in:
parent
a4af720280
commit
0765c8bea6
3 changed files with 22 additions and 11 deletions
|
@ -29,8 +29,8 @@ ls
|
|||
stage "Build"
|
||||
############
|
||||
echo "Recreating go.mod from scratch ..."
|
||||
mv go.mod go.mod.git
|
||||
mv go.sum go.sum.git
|
||||
mv go.mod go.mod.git || true
|
||||
mv go.sum go.sum.git || true
|
||||
go mod init
|
||||
go mod tidy
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue