From e38a94264b36c0ea77f14d123993fedfdcc78db1 Mon Sep 17 00:00:00 2001 From: Ricardo Band Date: Tue, 23 Jan 2024 12:18:27 +0100 Subject: [PATCH] update docs --- Makefile | 3 +++ README.md | 8 ++++++++ 2 files changed, 11 insertions(+) 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):