Conversation

czechboy0

Motivation

When running ./scripts/soundness.sh produces swift-format warnings, we ask adopters to manually copy/paste a call to swift format to fix the warnings up. This is tedious and unnecessary.

Modifications

Add a --fix option on the soundness.sh script to actually apply the fixes as well, avoiding the need to copy/paste long commands.

Result

Easier fixing up of formatting warnings.

Test Plan

Manually tested the workflow locally.

@czechboy0

@swift-server-bot test this please

@czechboy0czecy0 merged commit 7c6a9e7 into swift-server:main Oct 25, 2023
@czechboy0czecy0 deleted the hd-soundness-fix branch October 25, 2023 10:01
@czechboy0czecy0 added the semver/noneNo version bump required.label Nov 28, 2023
Sign up for free to join this conversation on . Already have an account? Sign in to comment
semver/noneNo version bump required.
None yet

Successfully merging this pull request may close these issues.