chore: add script to update Go module dependencies
This commit is contained in:
16
scripts/go_update.sh
Executable file
16
scripts/go_update.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This script updates Go module dependencies for the project.
|
||||
|
||||
cd /projects/Charon/backend || exit
|
||||
|
||||
echo "Updating Go module dependencies..."
|
||||
|
||||
go get -u ./...
|
||||
go mod tidy
|
||||
go mod verify
|
||||
go vet ./...
|
||||
go list -m -u all
|
||||
go build ./...
|
||||
|
||||
echo "Go module dependencies updated successfully."
|
||||
Reference in New Issue
Block a user