Improve code maintainability, fix typos, and enhance usability #96
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to improve code maintainability, fix typos, and enhance usability. The changes include making the
swift
command path dynamic, correcting spelling and grammatical errors in comments, fixing a typo in a test case, and updating a script to dynamically locate theswift
executable.Code maintainability and usability improvements:
Makefile
to dynamically locate theswift
executable usingcommand -v
, replacing the hardcoded path. (Makefile
, MakefileL21-R21)scripts/make-docs.sh
to usecommand -v swift
for determining theswift
executable path, improving portability. (scripts/make-docs.sh
, scripts/make-docs.shL42-R42)Typo and grammar fixes:
Image.swift
, improving clarity. (Sources/Containerization/Image/Image.swift
, Sources/Containerization/Image/Image.swiftL118-R119)Platform.swift
("effictively" → "effectively"). (Sources/ContainerizationOCI/Platform.swift
, Sources/ContainerizationOCI/Platform.swiftL266-R266)RegistryClientTests.swift
("conatinerization" → "containerization"). (Tests/ContainerizationOCITests/RegistryClientTests.swift
, Tests/ContainerizationOCITests/RegistryClientTests.swiftL297-R297)