Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 847 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 847 Bytes

trunk-monkey 🐒

Trunk full of junk?

This AI sniffs out code smells, anti-patterns, and duplicates in your main branch, keeping your trunk clean and your commits confident. No more merge mayhem, just smooth sailing to faster deploys. ⛵

Development

# Build the image with CLI
docker buildx bake

# Attach project you want to analyze as subject and initialize the project
docker run -v $(pwd):/subject trunk-monkey:beta init

# Synchronize the source code
docker run -v $(pwd):/subject trunk-monkey:beta sync

# Run the checks
docker run -v $(pwd):/subject trunk-monkey:beta check-all

# Run individual checks
docker run -v $(pwd):/subject trunk-monkey:beta check struggle

# When you changing the source code, you can sync the source code again
docker run -v $(pwd)/src:/app -v $(pwd):/subject trunk-monkey:beta check-all