Skip to content

Minor improvements post #24#32

Merged
albertodebortoli merged 8 commits intomasterfrom
feature/post-24-minor-improvements
Mar 13, 2023
Merged

Minor improvements post #24#32
albertodebortoli merged 8 commits intomasterfrom
feature/post-24-minor-improvements

Conversation

@albertodebortoli
Copy link
Member

I recommend inspecting the individual commits to simplify the review.

Some points:

  • StellarCLI should have CLI uppercase as it's an acronym, StellarEnv should have Env instead of ENV as it's an abbreviation to Environment.
  • I'm advocating for having the command documentation starting with the verb in the infinite form (e.g. 'Generate' instead of 'Generates') and ending with the period. See tuist --help to see how it's inconsistent in Tuist for instance. Like for the commits (that I use to write starting with a verb in the infinite form, see here and here), there is no widely-adopted convention I think.

@albertodebortoli albertodebortoli added the enhancement New feature or request label Mar 12, 2023
@albertodebortoli albertodebortoli added this to the 0.1.0 milestone Mar 12, 2023
enumerator(at: location, includingPropertiesForKeys: [], options: [])
}

public func copyFile(from location: URL, to destination: URL) throws {
Copy link
Member Author

Choose a reason for hiding this comment

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

BundleService is now using the existing implementation of copy(at... on line 41 in this file.
It is OK as the code in BundleService checks for the existence of the target folder and deletes it if existing.

@malcommac malcommac self-requested a review March 13, 2023 18:31
Copy link
Contributor

@malcommac malcommac left a comment

Choose a reason for hiding this comment

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

approved with embarrassment

@albertodebortoli albertodebortoli merged commit 6566214 into master Mar 13, 2023
@albertodebortoli albertodebortoli deleted the feature/post-24-minor-improvements branch March 13, 2023 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants