Skip to content

chore: Improve Makefile interface and consistency#3

Merged
lkronecker13 merged 2 commits into
mainfrom
chore/improve-project-interface
Aug 21, 2025
Merged

chore: Improve Makefile interface and consistency#3
lkronecker13 merged 2 commits into
mainfrom
chore/improve-project-interface

Conversation

@lkronecker13
Copy link
Copy Markdown
Contributor

Summary

  • Simplified environment setup: Replaced environment-create with intuitive init command
  • Consistent naming: Renamed all test targets to use test-* prefix pattern
  • Single validation command: Consolidated multiple validation targets into one validate-branch
  • Improved UX: Added emojis, better status messages, and consistent styling
  • Cleanup: Removed unused variables and non-existent targets from .PHONY

Changes Made

Environment Management

  • environment-createinit (better UX with emojis and clear feedback)
  • environment-deleteclean-env (consistent with clean-project)
  • Removed unused environment-sync, environment-list, sync-env

Test Targets

  • unit-testtest-unit
  • functional-testtest-functional
  • integration-testtest-integration
  • all-testtest (default test command excluding integration)
  • Added test-all for all tests including integration

Validation

  • Consolidated 4 validation targets into single validate-branch
  • Runs: lint → type-check → test (in logical order)
  • Removed redundant validate-branch-strict, validate-test, validate-test-all

Consistency Improvements

  • Added $(GREEN_LINE) to all targets for uniform styling
  • Removed unused CLIENT_ID variable
  • Updated .PHONY declaration to match actual targets
  • Updated all references in CI, pre-commit, and documentation

Test Plan

  • All tests pass with new target names
  • Pre-commit hooks work with updated commands
  • CI workflows updated and functional
  • Help command displays all targets correctly
  • Documentation updated across README, CLAUDE.md

🤖 Generated with Claude Code

lkronecker13 and others added 2 commits August 21, 2025 10:05
- Replace environment-create with init for better UX
- Rename environment-delete to clean-env for consistency
- Consolidate test targets with test-* prefix pattern
- Simplify validation to single validate-branch command
- Remove unused CLIENT_ID variable and non-existent targets
- Add consistent GREEN_LINE styling across all targets
- Update all references in CI, pre-commit, and docs

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add sync target to replace removed environment-sync
- Update all CI workflow references from environment-sync to sync
- Maintains same functionality but with cleaner naming

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@lkronecker13 lkronecker13 changed the title Improve Makefile interface and consistency chore: Improve Makefile interface and consistency Aug 21, 2025
@lkronecker13 lkronecker13 merged commit 95cb140 into main Aug 21, 2025
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant