1.2.3 • Published 6 years ago

csproj-synchronizer v1.2.3

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

csproj-synchronizer

Goal

  1. check csproj file's content, make sure all <Content Include="sompath/foo/bar.js"></Content> file is exist in project. if not exit with code 1.
  2. check all file is added into csproj file as index. if not throw error with exit code 1.
  3. todo Automaticly fix issues and overwrite back to csproj file.
  4. auto fix the cases issue, i.e. csproj file is fooBar.js but actually in disk is FooBar.js, after the fix the disk file will rename to fooBar.js

Usage

  1. npm i -g csproj-synchronizer
  2. run on your project root csproj-sync --file="path/to/your/Some.csproj" --configFile="./some/json/config/file.json"

example config file

{
  "checkPath": [
     "./Source/Web/Scripts/**/*.js",
     "./Source/Web/Content/**/*.scss",
     "./Source/Web/Images/**/*.{png,jpg,svg}"
  ],
  "ignorePath": [
    "./Source/Web/Scripts/Dest/**",
  ]
}
1.2.3

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago