Skip to content

Conversation

@art-divin
Copy link
Collaborator

@art-divin art-divin commented Mar 31, 2025

This PR adds a brand new CLI toolkit for development.

Including:

  1. Makefile - to install adamant-cli
  2. AdamantCLI SPM package - to have scripting in Swift
  3. adamant-cli - utility to run automations

adamant-cli

This utility supports a number of subcommands:

  1. setup - installs cocoapods, sourcery on developer's machine
  2. hooks - installs git hooks
  3. format - formats code using Swift 6 built-in format command
  4. mocks - generates mocks using Sourcery

pre-commit hook

This PR also includes pre-commit hook to run code formatting automatically, adding files to commit after formatting is done without developer's intervention.

@art-divin art-divin self-assigned this Mar 31, 2025
@art-divin art-divin changed the base branch from develop to trello.com/c/oOCxsoA5-2 March 31, 2025 21:50
[trello.com/c/oOCxsoA5] Deintegrate SwiftLint
[trello.com/c/oOCxsoA5] Formatted Code
@art-divin art-divin merged commit 966fd73 into trello.com/c/oOCxsoA5-2 Apr 4, 2025
@art-divin art-divin deleted the trello.com/c/oOCxsoA5-3 branch April 4, 2025 18:22
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.

3 participants