Skip to content

Latest commit

 

History

History

GenEntitas.Core.Settings.Parser

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Settings

Settings class and string parser using Sprache

How it works

  • Removes comments from file
  • Parses Dictionary<String, List<String>>

Syntax example

// comment
Key1 = "true"
Key2 =
   "value1",
   "value2",
   "value3",
 
/* another comment */
   "value4",

Example GenComps.settings

  • GeneratePath - path to existing directory in which a new directory Generated will be created
  • AssemblyResolvePaths - paths to folders with dll dependencies
  • SystemGuids - defines order of systems execution (see GenComps.settings)
  • RoslynPathToSolution - optional path to .sln file for Roslyn data provider
  • GenEntitasLangPaths - optional paths to GenEntitasLang files for GenEntitasLang data provider
  • ReflectionAssemblyPaths - optional paths to .dll files for Reflection data provider
  • WriteGeneratedPathsToCsproj - optional path to .csproj file with generated paths
  • LogGeneratedPaths - logs paths changes. Default = true
  • RunInDryMode - don't apply changes to disk. Default = false
  • IgnoreNamespaces - Default = false
  • GeneratedNamespace - wraps generated classes into namespace