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

Add command for converting multiple solutions to solution filters #49

Open
BalassaMarton opened this issue Jun 27, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@BalassaMarton
Copy link
Contributor

This would be useful when converting a multi-solution repo to a single-solution monorepo with solution filters.

Command syntax

please create solution filters --from <ExistingSolutions> --target <TargetSolution>

ExistingSolutions is a globbing pattern that selects the existing .sln files from the current working directory.
TargetSolution is a .sln file name.

Expected behavior

  • If TargetSolution does not exist, create it.
  • Then, for each .sln file in ExistingSolutions as sln:
    • Add the projects from sln to TargetSolution under a solution directory generated from the name of sln
    • Create a solution filter from sln that uses TargetSolution as the base
    • Delete sln
@BalassaMarton BalassaMarton added the enhancement New feature or request label Jun 27, 2023
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

No branches or pull requests

1 participant