@@ -8,33 +8,35 @@ ev-node is a sovereign rollup framework built in Go that allows developers to bu
88
99## Build and Development Commands
1010
11+ Uses [ just] ( https://github.com/casey/just ) as the command runner. Run ` just help ` to list all recipes.
12+
1113### Building
1214
13- - ` make build` - Builds the Testapp CLI to ` ./build/testapp `
14- - ` make install` - Installs Testapp CLI to your Go bin directory
15- - ` make build-all` - Builds all ev-node binaries
16- - ` make docker-build` - Builds Docker image tagged as ` evstack:local-dev `
15+ - ` just build` - Builds the Testapp CLI to ` ./build/testapp `
16+ - ` just install` - Installs Testapp CLI to your Go bin directory
17+ - ` just build-all` - Builds all ev-node binaries
18+ - ` just docker-build` - Builds Docker image tagged as ` evstack:local-dev `
1719
1820### Testing
1921
20- - ` make test` - Runs unit tests for all go.mod files
21- - ` make test-integration` - Runs integration tests (15m timeout)
22- - ` make test-e2e` - Runs end-to-end tests (requires building binaries first)
23- - ` make test-cover` - Generates code coverage report
24- - ` make test-all` - Runs all tests including Docker E2E tests
22+ - ` just test` - Runs unit tests for all go.mod files
23+ - ` just test-integration` - Runs integration tests (15m timeout)
24+ - ` just test-e2e` - Runs end-to-end tests (requires building binaries first)
25+ - ` just test-cover` - Generates code coverage report
26+ - ` just test-all` - Runs all tests including Docker E2E tests
2527
2628### Linting and Code Quality
2729
28- - ` make lint` - Runs all linters (golangci-lint, markdownlint, hadolint, yamllint, goreleaser check, actionlint)
29- - ` make lint-fix` - Auto-fixes linting issues where possible
30- - ` make vet` - Runs go vet
30+ - ` just lint` - Runs all linters (golangci-lint, markdownlint, hadolint, yamllint, goreleaser check, actionlint)
31+ - ` just lint-fix` - Auto-fixes linting issues where possible
32+ - ` just vet` - Runs go vet
3133
3234### Development Utilities
3335
34- - ` make deps` - Downloads dependencies and runs go mod tidy for all modules
35- - ` make proto-gen` - Generates protobuf files (requires Docker)
36- - ` make mock-gen` - Generates mocks using mockery
37- - ` make run-n NODES= 3` - Run multiple nodes locally (default: 1)
36+ - ` just deps` - Downloads dependencies and runs go mod tidy for all modules
37+ - ` just proto-gen` - Generates protobuf files (requires Docker)
38+ - ` just mock-gen` - Generates mocks using mockery
39+ - ` just run-n 3` - Run multiple nodes locally (default: 1)
3840
3941## Code Architecture
4042
@@ -91,7 +93,7 @@ go test -race ./package/...
9193### Mock Generation
9294
9395- Mocks are defined in ` .mockery.yaml `
94- - Generate with ` make mock-gen`
96+ - Generate with ` just mock-gen`
9597- Mocks are placed in ` mocks/ ` directories
9698
9799## Code Style Guidelines
@@ -128,7 +130,7 @@ go test -race ./package/...
128130### Modifying Protobuf Definitions
129131
1301321 . Edit ` .proto ` files in ` types/pb/ `
131- 2 . Run ` make proto-gen` to regenerate Go code
133+ 2 . Run ` just proto-gen` to regenerate Go code
1321343 . Update any affected code
1331354 . Run tests to ensure compatibility
134136
@@ -157,15 +159,15 @@ go test -race ./package/...
157159
158160## Debugging Tips
159161
160- - Use ` make run-n NODES= 2` to test multi-node scenarios locally
162+ - Use ` just run-n 2` to test multi-node scenarios locally
161163- Check logs for error messages and stack traces
162164- Use Go's built-in profiling tools for performance issues
163165- The testapp provides a simple way to test changes
164166
165167## Contributing Guidelines
166168
167- - All code must pass linting (` make lint` )
168- - All tests must pass (` make test-all` )
169+ - All code must pass linting (` just lint` )
170+ - All tests must pass (` just test-all` )
169171- Follow the existing code patterns
170172- Update tests when changing functionality
171173- Keep commits focused and atomic
0 commit comments