re-naming Flurl.Http.CodeGen -> Flurl.CodeGen

since it's used in both Flurl and Flurl.Http now
This commit is contained in:
Todd 2020-10-24 13:30:12 -05:00
parent 422b0486ef
commit 0125ac65d9
12 changed files with 19 additions and 22 deletions

View File

@ -7,7 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl", "..\src\Flurl\Flurl
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl.Http", "..\src\Flurl.Http\Flurl.Http.csproj", "{2760549B-586D-4660-A881-51767823BDCA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl.Http.CodeGen", "..\src\Flurl.Http.CodeGen\Flurl.Http.CodeGen.csproj", "{DCB24996-3FE7-4218-B4A4-2748235A6235}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl.CodeGen", "..\src\Flurl.CodeGen\Flurl.CodeGen.csproj", "{DCB24996-3FE7-4218-B4A4-2748235A6235}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl.Test", "..\Test\Flurl.Test\Flurl.Test.csproj", "{0E1584BA-B4E7-4DAE-8B95-463F7414B2FC}"
EndProject

View File

@ -9,7 +9,7 @@ exit /b 1
echo Restoring dependencies was successful.
)
@set project=..\src\Flurl.Http.CodeGen\Flurl.Http.CodeGen.csproj
@set project=..\src\Flurl.CodeGen\Flurl.CodeGen.csproj
@call dotnet run -c Release -p %project% ..
@if ERRORLEVEL 1 (

View File

@ -17,7 +17,7 @@ dotnet --info
dotnet restore -v m "${NETSTANDARD_SLN}"
dotnet run -c Release -p "${SCRIPT_ROOT}/../src/Flurl.Http.CodeGen/Flurl.Http.CodeGen.csproj" "${SCRIPT_ROOT}/../src/Flurl.Http/GeneratedExtensions.cs"
dotnet run -c Release -p "${SCRIPT_ROOT}/../src/Flurl.CodeGen/Flurl.CodeGen.csproj" "${SCRIPT_ROOT}/../src/Flurl.Http/GeneratedExtensions.cs"
dotnet build -c Release "${SCRIPT_ROOT}/../src/Flurl/"
dotnet build -c Release "${SCRIPT_ROOT}/../src/Flurl.Http/"

View File

@ -8,11 +8,6 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{B82E8094-AFA9-466E-9E60-473B7B89AFE2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Flurl.Http", "src\Flurl.Http\Flurl.Http.csproj", "{D7AC6172-73DD-468D-955A-3562F2BE303B}"
ProjectSection(ProjectDependencies) = postProject
{C0BC328E-BA47-467A-8893-91DBA8A24ACD} = {C0BC328E-BA47-467A-8893-91DBA8A24ACD}
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Flurl.Http.CodeGen", "src\Flurl.Http.CodeGen\Flurl.Http.CodeGen.csproj", "{C0BC328E-BA47-467A-8893-91DBA8A24ACD}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{86A5ACB4-F3B3-4395-A5D5-924C9F35F628}"
EndProject
@ -38,6 +33,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PackageTester.net461", "Pac
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PackageTester.netcore2", "PackageTesters\PackageTester.netcore2\PackageTester.netcore2.csproj", "{7D891924-DC5A-4EBD-945E-29F3765BF08F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Flurl.CodeGen", "src\Flurl.CodeGen\Flurl.CodeGen.csproj", "{BE943E04-705F-42B1-BF95-A0642D9CA51D}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
PackageTesters\PackageTester.Shared\PackageTester.Shared.projitems*{d4717aa7-5549-4bad-81c5-406844a12990}*SharedItemsImports = 13
@ -55,10 +52,6 @@ Global
{D7AC6172-73DD-468D-955A-3562F2BE303B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D7AC6172-73DD-468D-955A-3562F2BE303B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D7AC6172-73DD-468D-955A-3562F2BE303B}.Release|Any CPU.Build.0 = Release|Any CPU
{C0BC328E-BA47-467A-8893-91DBA8A24ACD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C0BC328E-BA47-467A-8893-91DBA8A24ACD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C0BC328E-BA47-467A-8893-91DBA8A24ACD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C0BC328E-BA47-467A-8893-91DBA8A24ACD}.Release|Any CPU.Build.0 = Release|Any CPU
{DF68EB0E-9566-4577-B709-291520383F8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DF68EB0E-9566-4577-B709-291520383F8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DF68EB0E-9566-4577-B709-291520383F8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
@ -71,6 +64,10 @@ Global
{7D891924-DC5A-4EBD-945E-29F3765BF08F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7D891924-DC5A-4EBD-945E-29F3765BF08F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7D891924-DC5A-4EBD-945E-29F3765BF08F}.Release|Any CPU.Build.0 = Release|Any CPU
{BE943E04-705F-42B1-BF95-A0642D9CA51D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BE943E04-705F-42B1-BF95-A0642D9CA51D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BE943E04-705F-42B1-BF95-A0642D9CA51D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BE943E04-705F-42B1-BF95-A0642D9CA51D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -78,11 +75,11 @@ Global
GlobalSection(NestedProjects) = preSolution
{117B6C6E-53F9-45AE-9439-F4FB7E21B116} = {B82E8094-AFA9-466E-9E60-473B7B89AFE2}
{D7AC6172-73DD-468D-955A-3562F2BE303B} = {B82E8094-AFA9-466E-9E60-473B7B89AFE2}
{C0BC328E-BA47-467A-8893-91DBA8A24ACD} = {B82E8094-AFA9-466E-9E60-473B7B89AFE2}
{DF68EB0E-9566-4577-B709-291520383F8D} = {86A5ACB4-F3B3-4395-A5D5-924C9F35F628}
{D4717AA7-5549-4BAD-81C5-406844A12990} = {9A136878-A43E-4154-9B5E-EDAF27E8628D}
{1C17F6CB-6AD2-488A-9747-DE0EDD6F401D} = {9A136878-A43E-4154-9B5E-EDAF27E8628D}
{7D891924-DC5A-4EBD-945E-29F3765BF08F} = {9A136878-A43E-4154-9B5E-EDAF27E8628D}
{BE943E04-705F-42B1-BF95-A0642D9CA51D} = {B82E8094-AFA9-466E-9E60-473B7B89AFE2}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {61289482-AC5A-44E1-AEA1-76A3F3CCB6A4}

View File

@ -1,7 +1,7 @@
using System;
using System.IO;
namespace Flurl.Http.CodeGen
namespace Flurl.CodeGen
{
/// <summary>
/// Wraps a StreamWriter. Mainly just keeps track of indentation.

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Flurl.Http.CodeGen
namespace Flurl.CodeGen
{
public class MethodArg
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Linq;
namespace Flurl.Http.CodeGen
namespace Flurl.CodeGen
{
public class HttpExtensionMethod : ExtensionMethod
{

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Flurl.Http.CodeGen
namespace Flurl.CodeGen
{
public static class Metadata
{

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Flurl.Http.CodeGen
namespace Flurl.CodeGen
{
class Program
{
@ -20,7 +20,7 @@ namespace Flurl.Http.CodeGen
File.WriteAllText(path, "");
using (var writer = new CodeWriter(path)) {
writer
.WriteLine("// This file was auto-generated by Flurl.Http.CodeGen. Do not edit directly.")
.WriteLine("// This file was auto-generated by Flurl.CodeGen. Do not edit directly.")
.WriteLine("using System;")
.WriteLine("using System.Collections.Generic;")
.WriteLine("")
@ -48,7 +48,7 @@ namespace Flurl.Http.CodeGen
File.WriteAllText(path, "");
using (var writer = new CodeWriter(path)) {
writer
.WriteLine("// This file was auto-generated by Flurl.Http.CodeGen. Do not edit directly.")
.WriteLine("// This file was auto-generated by Flurl.CodeGen. Do not edit directly.")
.WriteLine("using System;")
.WriteLine("using System.Collections.Generic;")
.WriteLine("using System.IO;")

View File

@ -1,4 +1,4 @@
// This file was auto-generated by Flurl.Http.CodeGen. Do not edit directly.
// This file was auto-generated by Flurl.CodeGen. Do not edit directly.
using System;
using System.Collections.Generic;
using System.IO;

View File

@ -1,4 +1,4 @@
// This file was auto-generated by Flurl.Http.CodeGen. Do not edit directly.
// This file was auto-generated by Flurl.CodeGen. Do not edit directly.
using System;
using System.Collections.Generic;