Skip to content

Commit

Permalink
Reorganized to remove dead dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hallambaker committed Dec 29, 2019
1 parent f1d9c47 commit a5bb194
Show file tree
Hide file tree
Showing 63 changed files with 229 additions and 839 deletions.
7 changes: 3 additions & 4 deletions ASN/Goedel.Tool.ASN/VS.Make
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# Supplemental Makefile for Visual Studios Projects
#
# Visual Studio is responsible for managing rules for production of
# code but does not provide support for pre and post build actions.
# Visual Studio runs tools for most projects but not for shared projects.
#
# Prebuild items supported:
# [None currently]
Expand All @@ -23,20 +22,20 @@ LinkFiles =
ToolTargets = \
Asn2.cs\
GenerateCS.cs

Asn2.cs : Asn2.gdl
goedel3 Asn2.gdl /cs Asn2.cs

GenerateCS.cs : GenerateCS.script
gscript GenerateCS.script GenerateCS.cs



prebuildRecurse :


postbuildRecurse :


# Shared project, create build rules for custom tools.
prebuild : prebuildRecurse $(ToolTargets)

postbuild : postbuildRecurse
Expand Down
10 changes: 4 additions & 6 deletions ASN/asn2/VS.Make
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# Supplemental Makefile for Visual Studios Projects
#
# Visual Studio is responsible for managing rules for production of
# code but does not provide support for pre and post build actions.
# Visual Studio runs tools for most projects but not for shared projects.
#
# Prebuild items supported:
# [None currently]
Expand All @@ -18,16 +17,15 @@

MSBuildThisFileDirectory =

LinkFiles = \
Goedel.Tool.Shell.dll
LinkFiles =

ToolTargets = \
ASN2.cs

ASN2.cs : ASN2.command
commandparse ASN2.command /cs ASN2.cs



prebuildRecurse :
cd ..\Goedel.Tool.ASN && nmake /c /f VS.make prebuild
cd ..\..\..\mmm\Libraries\Goedel.ASN && nmake /c /f VS.make prebuild
Expand All @@ -37,7 +35,7 @@ postbuildRecurse :
cd ..\Goedel.Tool.ASN && nmake /c /f VS.make postbuild
cd ..\..\..\mmm\Libraries\Goedel.ASN && nmake /c /f VS.make postbuild


# Non shared project, nothing to do
prebuild : prebuildRecurse $(ToolTargets)

postbuild : postbuildRecurse
Expand Down
4 changes: 2 additions & 2 deletions ASN/asn2/asn2.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\mmm\Libraries\Core\Goedel.Tool.Shell\ToolLib.csproj" />
<ProjectReference Include="..\..\Libraries\Goedel.Tool.Core\Goedel.Tool.Core.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
626 changes: 0 additions & 626 deletions BuildTools.sln

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Command/CommandEcho/CommandEcho.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\mmm\Libraries\Core\Goedel.Tool.Shell\ToolLib.csproj" />
<ProjectReference Include="..\..\Libraries\Goedel.Tool.Core\Goedel.Tool.Core.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
12 changes: 6 additions & 6 deletions Command/CommandEcho/VS.Make
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# Supplemental Makefile for Visual Studios Projects
#
# Visual Studio is responsible for managing rules for production of
# code but does not provide support for pre and post build actions.
# Visual Studio runs tools for most projects but not for shared projects.
#
# Prebuild items supported:
# [None currently]
Expand All @@ -18,22 +17,23 @@

MSBuildThisFileDirectory =

LinkFiles = \
Goedel.Tool.Shell.dll
LinkFiles =

ToolTargets = \
Command.cs

Command.cs : Command.command
commandparse Command.command /cs Command.cs



prebuildRecurse :
cd ..\..\Goedel3\Goedel.Tool.Schema && nmake /c /f VS.make prebuild


postbuildRecurse :
cd ..\..\Goedel3\Goedel.Tool.Schema && nmake /c /f VS.make postbuild


# Non shared project, nothing to do
prebuild : prebuildRecurse $(ToolTargets)

postbuild : postbuildRecurse
Expand Down
7 changes: 3 additions & 4 deletions Command/Goedel.Tool.Command/VS.Make
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# Supplemental Makefile for Visual Studios Projects
#
# Visual Studio is responsible for managing rules for production of
# code but does not provide support for pre and post build actions.
# Visual Studio runs tools for most projects but not for shared projects.
#
# Prebuild items supported:
# [None currently]
Expand All @@ -24,7 +23,6 @@ ToolTargets = \
Command.cs\
Exceptions.cs\
Generate.cs

Command.cs : Command.gdl
goedel3 Command.gdl /cs Command.cs

Expand All @@ -35,12 +33,13 @@ Generate.cs : Generate.script
gscript Generate.script Generate.cs



prebuildRecurse :


postbuildRecurse :


# Shared project, create build rules for custom tools.
prebuild : prebuildRecurse $(ToolTargets)

postbuild : postbuildRecurse
Expand Down
10 changes: 4 additions & 6 deletions Command/commandparse/VS.Make
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# Supplemental Makefile for Visual Studios Projects
#
# Visual Studio is responsible for managing rules for production of
# code but does not provide support for pre and post build actions.
# Visual Studio runs tools for most projects but not for shared projects.
#
# Prebuild items supported:
# [None currently]
Expand All @@ -19,24 +18,23 @@
MSBuildThisFileDirectory =

LinkFiles = \
Goedel.IO.dll\
Goedel.Tool.Shell.dll
Goedel.Tool.Core.dll

ToolTargets = \
Command.cs

Command.cs : Command.command
commandparse Command.command /cs Command.cs



prebuildRecurse :
cd ..\Goedel.Tool.Command && nmake /c /f VS.make prebuild


postbuildRecurse :
cd ..\Goedel.Tool.Command && nmake /c /f VS.make postbuild


# Non shared project, nothing to do
prebuild : prebuildRecurse $(ToolTargets)

postbuild : postbuildRecurse
Expand Down
7 changes: 3 additions & 4 deletions DNSConfig/Goedel.Tool.DNSConfig/VS.Make
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# Supplemental Makefile for Visual Studios Projects
#
# Visual Studio is responsible for managing rules for production of
# code but does not provide support for pre and post build actions.
# Visual Studio runs tools for most projects but not for shared projects.
#
# Prebuild items supported:
# [None currently]
Expand All @@ -23,20 +22,20 @@ LinkFiles =
ToolTargets = \
DNSConfigSchema.cs\
Generate.cs

DNSConfigSchema.cs : DNSConfigSchema.gdl
goedel3 DNSConfigSchema.gdl /cs DNSConfigSchema.cs

Generate.cs : Generate.Script
gscript Generate.Script Generate.cs



prebuildRecurse :


postbuildRecurse :


# Shared project, create build rules for custom tools.
prebuild : prebuildRecurse $(ToolTargets)

postbuild : postbuildRecurse
Expand Down
11 changes: 4 additions & 7 deletions DNSConfig/srvconf/VS.Make
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# Supplemental Makefile for Visual Studios Projects
#
# Visual Studio is responsible for managing rules for production of
# code but does not provide support for pre and post build actions.
# Visual Studio runs tools for most projects but not for shared projects.
#
# Prebuild items supported:
# [None currently]
Expand All @@ -18,25 +17,23 @@

MSBuildThisFileDirectory =

LinkFiles = \
Goedel.IO.dll\
Goedel.Tool.Shell.dll
LinkFiles =

ToolTargets = \
DNSConfig.cs

DNSConfig.cs : DNSConfig.command
commandparse DNSConfig.command /cs DNSConfig.cs



prebuildRecurse :
cd ..\Goedel.Tool.DNSConfig && nmake /c /f VS.make prebuild


postbuildRecurse :
cd ..\Goedel.Tool.DNSConfig && nmake /c /f VS.make postbuild


# Non shared project, nothing to do
prebuild : prebuildRecurse $(ToolTargets)

postbuild : postbuildRecurse
Expand Down
3 changes: 1 addition & 2 deletions DNSConfig/srvconf/srvconf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\mmm\Libraries\Core\Goedel.IO\Goedel.IO.csproj" />
<ProjectReference Include="..\..\..\mmm\Libraries\Core\Goedel.Tool.Shell\ToolLib.csproj" />
<ProjectReference Include="..\..\Libraries\Goedel.Tool.Core\Goedel.Tool.Core.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
7 changes: 3 additions & 4 deletions DocTools/Goedel.Document.Markdown/VS.Make
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# Supplemental Makefile for Visual Studios Projects
#
# Visual Studio is responsible for managing rules for production of
# code but does not provide support for pre and post build actions.
# Visual Studio runs tools for most projects but not for shared projects.
#
# Prebuild items supported:
# [None currently]
Expand All @@ -25,7 +24,6 @@ ToolTargets = \
MarkParagraph.cs\
MarkWordParagraph.cs\
Schema.cs

MarkDown.cs : MarkDown.fsr
fsrgen MarkDown.fsr /cs MarkDown.cs

Expand All @@ -39,12 +37,13 @@ Schema.cs : Schema.gdl
goedel3 Schema.gdl /cs Schema.cs



prebuildRecurse :


postbuildRecurse :


# Shared project, create build rules for custom tools.
prebuild : prebuildRecurse $(ToolTargets)

postbuild : postbuildRecurse
Expand Down
5 changes: 2 additions & 3 deletions DocTools/Goedel.Document.OpenXML/VS.Make
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# Supplemental Makefile for Visual Studios Projects
#
# Visual Studio is responsible for managing rules for production of
# code but does not provide support for pre and post build actions.
# Visual Studio runs tools for most projects but not for shared projects.
#
# Prebuild items supported:
# [None currently]
Expand All @@ -28,7 +27,7 @@ prebuildRecurse :

postbuildRecurse :


# Shared project, create build rules for custom tools.
prebuild : prebuildRecurse $(ToolTargets)

postbuild : postbuildRecurse
Expand Down
18 changes: 17 additions & 1 deletion DocTools/Goedel.Document.RFC/Document.cs
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,25 @@ public void NumberSections() {
}


string GetAnchor(string Text) => Text == null ? "undefined" : Text.Replace(" ", "-").ToLower();
string GetAnchor(string Text) => Text == null ? "undefined" : Clean(Text);


string Clean(string text) {
var builder = new StringBuilder();
text = text.ToLower();
foreach (var c in text) {
if ((c >= 'A' & c <= 'Z') | (c >= 'a' & c <= 'z') | (c >= '0' & c <= '9')) {
builder.Append(c);
}
else if (c == ' ') {
builder.Append('-');
}
}

return builder.ToString();

}

public bool CheckNits() {
bool Result = true;

Expand Down
7 changes: 3 additions & 4 deletions DocTools/Goedel.Document.RFC/VS.Make
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# Supplemental Makefile for Visual Studios Projects
#
# Visual Studio is responsible for managing rules for production of
# code but does not provide support for pre and post build actions.
# Visual Studio runs tools for most projects but not for shared projects.
#
# Prebuild items supported:
# [None currently]
Expand All @@ -22,17 +21,17 @@ LinkFiles =

ToolTargets = \
Exceptions.cs

Exceptions.cs : Exceptions.exceptional
exceptional Exceptions.exceptional /cs Exceptions.cs



prebuildRecurse :


postbuildRecurse :


# Shared project, create build rules for custom tools.
prebuild : prebuildRecurse $(ToolTargets)

postbuild : postbuildRecurse
Expand Down
Loading

0 comments on commit a5bb194

Please sign in to comment.