Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discover nested vsconfigs #6

Merged
merged 3 commits into from
Feb 15, 2023
Merged

Conversation

jlee671
Copy link
Contributor

@jlee671 jlee671 commented Feb 14, 2023

Discover nested vsconfigs and collect components to create final vsconfig

  • Manually tested discovering directories where .vsconfig exists and collecting components (unique)

paths

components

finalvsconfig

@skylarnam skylarnam self-requested a review February 14, 2023 18:51
VSConfigFinder/FileSystem.cs Show resolved Hide resolved
VSConfigFinder/FileSystem.cs Outdated Show resolved Hide resolved
VSConfigFinder/IFileSystem.cs Outdated Show resolved Hide resolved
VSConfigFinder/IFileSystem.cs Show resolved Hide resolved
VSConfigFinder/Program.cs Outdated Show resolved Hide resolved
VSConfigFinder/Utilities.cs Outdated Show resolved Hide resolved
VSConfigFinder/Utilities.cs Outdated Show resolved Hide resolved
VSConfigFinder/Utilities.cs Outdated Show resolved Hide resolved
VSConfigFinder/Utilities.cs Outdated Show resolved Hide resolved
VSConfigFinder/Program.cs Outdated Show resolved Hide resolved
};

// Output
Utilities.CreateOutput(finalConfig, options);
Utilities.CreateOutput(fileSystem, finalConfig, options);
Copy link
Member

Choose a reason for hiding this comment

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

nit: why not just pass the components here and generate the vsconfig in here, if needed based on the cmdline switches?

Copy link
Contributor

Choose a reason for hiding this comment

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

Mostly just for testability, I wanted to move most of the logic out of program.cs.

@skylarnam skylarnam merged commit 0f3d181 into main Feb 15, 2023
@skylarnam skylarnam deleted the dev/jiwon/discover-nested-vsconfigs branch February 15, 2023 22:24
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