update docs
This commit is contained in:
parent
09e21904ae
commit
e38a94264b
3
Makefile
3
Makefile
|
@ -15,6 +15,9 @@ run: build ## Run project
|
||||||
build: ## Compile project
|
build: ## Compile project
|
||||||
go build -v -o ${PROJECT}
|
go build -v -o ${PROJECT}
|
||||||
|
|
||||||
|
update: ## Update go dependencies
|
||||||
|
go get -u
|
||||||
|
|
||||||
tidy: ## Add missing and remove unused modules
|
tidy: ## Add missing and remove unused modules
|
||||||
go mod tidy
|
go mod tidy
|
||||||
|
|
||||||
|
|
|
@ -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`.
|
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
|
### ❄️ w/ Nix
|
||||||
|
|
||||||
Enter development shell (also has [mpc][mpc] client installed for testing):
|
Enter development shell (also has [mpc][mpc] client installed for testing):
|
||||||
|
|
Loading…
Reference in a new issue