update agents.md with makefile usage instructions
This commit is contained in:
32
AGENTS.md
32
AGENTS.md
@@ -240,6 +240,7 @@ Use the following `flake.nix` for Strudel development:
|
|||||||
|
|
||||||
#### Usage
|
#### Usage
|
||||||
|
|
||||||
|
**Option 1: Direct Nix commands**
|
||||||
1. **Enter development shell**:
|
1. **Enter development shell**:
|
||||||
```bash
|
```bash
|
||||||
nix develop
|
nix develop
|
||||||
@@ -255,6 +256,37 @@ Use the following `flake.nix` for Strudel development:
|
|||||||
pnpm dev
|
pnpm dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Option 2: Using Makefile (recommended)**
|
||||||
|
The Makefile provides convenient shortcuts for common development tasks:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Install dependencies
|
||||||
|
make install
|
||||||
|
|
||||||
|
# Start development server
|
||||||
|
make dev
|
||||||
|
|
||||||
|
# Run tests
|
||||||
|
make test
|
||||||
|
|
||||||
|
# Run linter
|
||||||
|
make lint
|
||||||
|
|
||||||
|
# Format code
|
||||||
|
make format
|
||||||
|
|
||||||
|
# Run all checks
|
||||||
|
make check
|
||||||
|
|
||||||
|
# Enter Nix shell directly
|
||||||
|
make shell
|
||||||
|
|
||||||
|
# Show help
|
||||||
|
make help
|
||||||
|
```
|
||||||
|
|
||||||
|
All Makefile commands automatically run within the Nix development environment.
|
||||||
|
|
||||||
### Live Performance Considerations
|
### Live Performance Considerations
|
||||||
|
|
||||||
When creating beats for live performance:
|
When creating beats for live performance:
|
||||||
|
|||||||
Reference in New Issue
Block a user