mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[RombaSharp] Add config.xml
This commit is contained in:
@@ -34,36 +34,6 @@ namespace SabreTools
|
||||
// Get the XML text reader for the configuration file, if possible
|
||||
XmlTextReader xtr = DatTools.GetXmlTextReader(_config, _logger);
|
||||
|
||||
/* XML file structure
|
||||
|
||||
<romba>
|
||||
<general>
|
||||
<workers>4</workers>
|
||||
<logdir>logs</logdir>
|
||||
<tmpdir>tmp</tmpdir>
|
||||
<webdir>web</web>
|
||||
<baddir>bad</baddir>
|
||||
<verbosity>1</verbosity>
|
||||
<cores>4</cores>
|
||||
</general>
|
||||
<index>
|
||||
<dats>dats</dats>
|
||||
<db>db</db>
|
||||
</index>
|
||||
<depots>
|
||||
<depot>
|
||||
<root>depot</root>
|
||||
<maxsize>40000</maxsize>
|
||||
<online>true</online>
|
||||
</depot>
|
||||
</depots>
|
||||
<server>
|
||||
<port>4003</port>
|
||||
</server>
|
||||
</romba>
|
||||
|
||||
*/
|
||||
|
||||
// Now parse the XML file for settings
|
||||
if (xtr != null)
|
||||
{
|
||||
|
||||
@@ -91,6 +91,11 @@
|
||||
<Name>SabreTools.Helper</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="config.xml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\tools\Mono.Data.Sqlite.Portable.targets" Condition="Exists('..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\tools\Mono.Data.Sqlite.Portable.targets')" />
|
||||
<Target Name="EnsureMonoDataSqlitePortableImported" BeforeTargets="BeforeBuild" Condition="'$(MonoDataSqlitePortableImported)' == ''">
|
||||
|
||||
27
RombaSharp/config.xml
Normal file
27
RombaSharp/config.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<romba>
|
||||
<general>
|
||||
<workers>4</workers>
|
||||
<logdir>logs</logdir>
|
||||
<tmpdir>tmp</tmpdir>
|
||||
<webdir>web</webdir>
|
||||
<baddir>bad</baddir>
|
||||
<verbosity>1</verbosity>
|
||||
<cores>4</cores>
|
||||
</general>
|
||||
<index>
|
||||
<dats>dats</dats>
|
||||
<db>db</db>
|
||||
</index>
|
||||
<depots>
|
||||
<depot>
|
||||
<root>depot</root>
|
||||
<maxsize>40000</maxsize>
|
||||
<online>true</online>
|
||||
</depot>
|
||||
</depots>
|
||||
<server>
|
||||
<port>4003</port>
|
||||
</server>
|
||||
</romba>
|
||||
Reference in New Issue
Block a user