docs: update copilot instructions with important commands and linting guidelines
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -43,3 +43,11 @@ This is a music streaming server written in Go with a React frontend. The applic
|
|||||||
- Validate both backend and frontend interactions
|
- Validate both backend and frontend interactions
|
||||||
- Consider how changes will affect user experience and performance
|
- Consider how changes will affect user experience and performance
|
||||||
- Test with different music library sizes and configurations
|
- Test with different music library sizes and configurations
|
||||||
|
- Always run formatting and linting before committing changes
|
||||||
|
|
||||||
|
## Important commands
|
||||||
|
- `make build`: Build the application
|
||||||
|
- `make test`: Run Go tests
|
||||||
|
- To run tests for a specific package, use `make test PKG=./pkgname/...`
|
||||||
|
- `make lintall`: Run linters
|
||||||
|
- `make format`: Format code
|
||||||
Reference in New Issue
Block a user