Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ dist/
*.so
*.dylib

# But allow rnr binaries (they should be committed)
!.rnr/bin/*

# Test binary, built with `go test -c`
*.test

Expand Down
1 change: 0 additions & 1 deletion .husky/commit-msg

This file was deleted.

Binary file added .rnr/bin/rnr-linux-amd64
Binary file not shown.
Binary file added .rnr/bin/rnr-macos-amd64
Binary file not shown.
Binary file added .rnr/bin/rnr-macos-arm64
Binary file not shown.
Binary file added .rnr/bin/rnr-windows-amd64.exe
Binary file not shown.
Binary file added .rnr/bin/rnr-windows-arm64.exe
Binary file not shown.
7 changes: 7 additions & 0 deletions .rnr/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 0.1.0
platforms:
- linux-amd64
- macos-amd64
- macos-arm64
- windows-amd64
- windows-arm64
17 changes: 15 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Guidance for Claude Code when working with the dtvem codebase.
5. **Conventional commits** - Format: `type(scope): description`
6. **GitHub Issues for TODOs** - Use `gh` CLI to manage issues, no local TODO files. Use conventional commit format for issue titles
7. **Pull Requests** - Use the conventional commit format for PR titles as you do for commits
8. **Run validation before commits** - Run `npm run check` (format, lint, test) before committing and pushing
8. **Run validation before commits** - Run `./rnr check` (format, lint, test) before committing and pushing
9. **Working an issue** - When working an issue, always create a new branch from an updated main branch
10. **Branch Names** - Always use the conventional commit `type` from the issue title as the first prefix, and the `scope` as the second, then a very short description, example `feat/ci/integration-tests`
11. **Check branch status before pushing** - ALWAYS verify the remote tracking branch still exists before pushing. If a PR was merged/deleted, create a new branch from main instead of trying to push to the old one.
Expand All @@ -35,7 +35,20 @@ Guidance for Claude Code when working with the dtvem codebase.

## Quick Reference

### Build Commands
### Task Runner (rnr)

```bash
./rnr --list # List all available tasks
./rnr check # Format, lint, and test
./rnr build # Build both CLI and shim
./rnr test # Run tests
./rnr format # Format code
./rnr lint # Run linter
./rnr clean # Remove build artifacts
./rnr deploy-local # Build and deploy to local installation
```

### Build Commands (raw)

```bash
# Build executables
Expand Down
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,17 @@ See [Getting Started](https://dtvem.io/docs/user-guide/getting-started) for more
Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for:

- Setting up your development environment
- npm scripts for building and testing
- Task runner commands for building and testing
- Commit conventions and PR guidelines
- CI/CD workflows and release process
- Adding new runtime providers

### Quick Setup

```bash
# First, install dtvem (see Installation section above)
# Then clone and set up the development environment:
git clone https://github.com/CodingWithCalvin/dtvem.cli.git
cd dtvem
dtvem install # Install Node.js for git hooks
npm install # Set up dev dependencies
npm run check # Run format, lint, and tests
cd dtvem.cli
./rnr check # Run format, lint, and tests
```

Looking for something to work on? Check out [good first issues](https://github.com/CodingWithCalvin/dtvem.cli/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).
Expand Down
Loading