diff --git a/Makefile b/Makefile index 73db29e..3c1d965 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,9 @@ run: build ## Run project build: ## Compile project go build -v -o ${PROJECT} +update: ## Update go dependencies + go get -u + tidy: ## Add missing and remove unused modules go mod tidy diff --git a/README.md b/README.md index 5b5cd45..ff9af2a 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,14 @@ sanic is developed using [Nix][nix], but you can also just use the usual Golang Run local [MPD][mpd] instance for testing with `make mpd`. +Update go depdendencies like this: + +```shell +go get -u # or `make update` +go mod tidy # or `make tidy` +gomod2nix +``` + ### ❄️ w/ Nix Enter development shell (also has [mpc][mpc] client installed for testing):