Skip to content

Add format-check.sh and format-do.sh scripts to project root#5020

Merged
pwojcikdev merged 1 commit intonanocurrency:developfrom
pwojcikdev:format-do-scripts
Jan 30, 2026
Merged

Add format-check.sh and format-do.sh scripts to project root#5020
pwojcikdev merged 1 commit intonanocurrency:developfrom
pwojcikdev:format-do-scripts

Conversation

@pwojcikdev
Copy link
Copy Markdown
Contributor

These scripts in the project root make it easier to discover and use the formatting tools. All files need to be formatted properly to pass our CI.

Usage:

./format-check.sh  # Check if code is formatted correctly                                                                                                                                                                                                                                                                                                                                                                               
./format-do.sh     # Format all code   

@gr0vity-dev-bot
Copy link
Copy Markdown

gr0vity-dev-bot commented Jan 30, 2026

Test Results for Commit 30bcc20

Pull Request 5020: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 120s)
  • 5n4pr_conf_10k_change: PASS (Duration: 130s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 145s)
  • 5n4pr_conf_change_independant: PASS (Duration: 119s)
  • 5n4pr_conf_send_dependant: PASS (Duration: 127s)
  • 5n4pr_conf_send_independant: PASS (Duration: 125s)
  • 5n4pr_rocks_10k_change: FAIL (Duration: 282s)
  • Log

Last updated: 2026-01-30 16:19:26 UTC

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds two convenience scripts to the project root to make formatting tools more discoverable and easier to use for developers.

Changes:

  • Added format-check.sh to check if code meets formatting requirements
  • Added format-do.sh to automatically format all code

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
format-check.sh Wrapper script that checks C++ (clang-format) and CMake (cmake-format) formatting, delegating to existing CI scripts
format-do.sh Wrapper script that formats C++ and CMake files, delegating to existing CI scripts

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pwojcikdev pwojcikdev merged commit d9a94b9 into nanocurrency:develop Jan 30, 2026
34 checks passed
@pwojcikdev pwojcikdev deleted the format-do-scripts branch January 30, 2026 16:45
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