Fix code generation

Previous changes introduced some bugs to the
code generation scripts and templates, which
now have been fixed.
This commit is contained in:
Patrik Svensson 2021-01-29 20:57:36 +01:00 committed by Patrik Svensson
parent e20f6284f9
commit 58400fe74e
11 changed files with 3 additions and 13 deletions

View File

@ -19,4 +19,4 @@ if(!$?) {
Pop-Location Pop-Location
# Copy the files to the correct location # Copy the files to the correct location
Copy-Item (Join-Path "$Output" "Spinner.Generated.cs") -Destination "$Source/Progress/Spinner.Generated.cs" Copy-Item (Join-Path "$Output" "Spinner.Generated.cs") -Destination "$Source/Widgets/Progress/Spinner.Generated.cs"

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Generated {{ date.now | date.to_string `%F %R` }}
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Generated {{ date.now | date.to_string `%F %R` }}
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
@ -10,7 +9,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Spectre.Console.Internal namespace Spectre.Console
{ {
internal static partial class ColorPalette internal static partial class ColorPalette
{ {

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Generated {{ date.now | date.to_string `%F %R` }}
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
@ -11,7 +10,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Spectre.Console.Internal namespace Spectre.Console
{ {
internal static partial class ColorTable internal static partial class ColorTable
{ {

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Generated {{ date.now | date.to_string `%F %R` }}
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Generated {{ date.now | date.to_string `%F %R` }}
// //
// Partly generated from // Partly generated from
// https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json // https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Generated 2020-09-18 10:42
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Generated 2020-09-18 11:14
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Generated 2020-09-18 10:42
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Generated 2020-09-18 10:42
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Generated 2020-12-08 23:55
// //
// Partly generated from // Partly generated from
// https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json // https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json