Git Product home page Git Product logo

slnf-gen's Introduction

A dotnet tool for generating solution filter (.slnf) files based on globs

NuGet Badge codecov

Easily create a solution filter to avoid restoring more than necessary

Usage example

RUN slnf-gen MySolution.sln --exclude **/*Test* && dotnet restore MySolution.slnf

Help

Description:
  Solution filter generator
  Example of excluding test projects: 'slnf-gen MySolution.sln --exclude **/*Test*' which creates MySolution.slnf

Usage:
  slnf-gen <path to sln> [options]

Arguments:
  <path to sln>  File path to the solution (.sln) file

Options:
  -e, --exclude <exclude>          Exclusion glob(s)
  -i, --include <include>          Inclusion glob(s) [default: **/*]
  -o, --output-path <output-path>  Optional path of output .slnf file. Defaults to same directory and file name as .sln file but different file extension
  --version                        Show version information
  -?, -h, --help                   Show help and usage information

slnf-gen's People

Contributors

rosenbjerg avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

slnf-gen's Issues

By default it's ignoring solutions that are not in the same path as the sln file

It would be nice if you'd be able to configure if you want files that are not in the same directory to be filtered out.

If I run slnf-gen without any include or exclude params it's filtering out files that have ..\ in their path

Example entry that is filtered out

Project("{F1A12A1A-XXXX-465A-A702-123A12345678}") = "protobuf.integration.models", "..\protobuf\integration\models\protobuf.integration.models.fsproj", "{1234567A-AB12-1234-AB1C-ABC12E2FC428}"
EndProject

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.