Skip to content

Latest commit

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

csharp-compiler

Automatically build a .dll file for all C# local filters on the project.

Instalation

regolith install github.com/llgava/regolith-filters/csharp-compiler

Configuration

Note that your C# filter should only be called after csharp-compiler has been run.

{
  "filters": [
    { "filter": "csharp-compiler" },
    { "filter": "my_csharp_local_filter" },
    { "filter": "other_csharp_local_filter" }
  ]
}

Filter definition pattern

You also need to follow a pattern for your C# path. See the example bellow:

...
"filterDefinitions": {
	"csharp-compiler": {
		"url": "github.com/llgava/regolith-filters",
		"version": "1.0.0"
	},
	"my_csharp_local_filter": {
		"path": "./YOUR_FILTER_PATH/Build/my_csharp_local_filter.dll",
		"runWith": "dotnet"
	},
	"other_csharp_local_filter": {
		"path": "./YOUR_FILTER_PATH/Build/other_csharp_local_filter.dll",
		"runWith": "dotnet"
	}
}
...

Basically the pattern for the path should be ./YOUR_FILTER_PATH/Build/YOUR_FILTER_NAME.dll