refactor: Remove byte order mark
This commit is contained in:
parent
1a8bdec589
commit
3b1a4c7050
52 changed files with 71 additions and 71 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using Cake.Common.IO;
|
||||
using Cake.Common.IO;
|
||||
using Cake.Common.IO.Paths;
|
||||
using Cake.Core;
|
||||
using Cake.Core.IO;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ public static class Program
|
|||
return new CakeHost()
|
||||
.UseContext<BuildContext>()
|
||||
// Uncomment this if you don't want to set the suffix via the run profile program arguments
|
||||
//.UseCakeSetting(nameof(BuildContext.BuildSuffix), "<your suffix here>")
|
||||
.UseCakeSetting(nameof(BuildContext.BuildSuffix), "pre-release")
|
||||
.Run(args);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
param (
|
||||
param (
|
||||
[string]$powershellModuleFileLocation,
|
||||
[string]$guid,
|
||||
[string]$author,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using Cake.Common.Tools.DotNet;
|
||||
using Cake.Common.Tools.DotNet;
|
||||
using Cake.Common.Tools.DotNet.Build;
|
||||
using Cake.Common.Tools.DotNet.MSBuild;
|
||||
using Cake.Core.Diagnostics;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using Cake.Common;
|
||||
using Cake.Common;
|
||||
using Cake.Common.Tools.DotNet;
|
||||
using Cake.Core.Diagnostics;
|
||||
using Cake.Frosting;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Cake.Core.Diagnostics;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using Cake.Core;
|
||||
using Cake.Core;
|
||||
using Cake.Core.Diagnostics;
|
||||
using Cake.Frosting;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using Cake.Core.Diagnostics;
|
||||
using Cake.Frosting;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Git Repo Registration
|
||||
# Git Repo Registration
|
||||
|
||||
- all commands support `-debug`
|
||||
- at its simplest level these commands allow you to register a git repo against a simple name, and provide the ability to quickly pushd to a location
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="sqlite-net-pcl" />
|
||||
<PackageReference Include="sqlite-net-pcl"/>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Management.Automation;
|
||||
using ModuleCore.Calendar;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<Project>
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<VersionPrefix>0.0.1</VersionPrefix>
|
||||
<VersionSuffix>dev</VersionSuffix>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Management.Automation;
|
||||
using System.Management.Automation;
|
||||
using ModuleCore.Git;
|
||||
using ModuleCore.Git.Models;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace PowershellModule.Git.Commands;
|
||||
namespace PowershellModule.Git.Commands;
|
||||
|
||||
public class GitCommands
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
using ModuleCore.Git;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
using ModuleCore.Git;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Management.Automation;
|
||||
using System.Management.Automation;
|
||||
using ModuleCore.Git;
|
||||
|
||||
namespace PowershellModule.Git.Commands;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Provider;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Management.Automation;
|
||||
using System.Management.Automation;
|
||||
|
||||
namespace PowershellModule.Git;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<#
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Removes all non-core files from build output
|
||||
#>
|
||||
|
|
|
|||
|
|
@ -1,25 +1,25 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<AssemblyName>PowershellModule</AssemblyName>
|
||||
<LangVersion>latestmajor</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<AssemblyName>PowershellModule</AssemblyName>
|
||||
<LangVersion>latestmajor</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="PowerShellStandard.Library" >
|
||||
<PrivateAssets>All</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="System.Management.Automation" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="PowerShellStandard.Library">
|
||||
<PrivateAssets>All</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="System.Management.Automation"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ModuleCore\ModuleCore.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ModuleCore\ModuleCore.csproj"/>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||
<Exec Command="pwsh.exe -file "$(ProjectDir)PostBuild.ps1" $(TargetDir)" />
|
||||
</Target>
|
||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||
<Exec Command="pwsh.exe -file "$(ProjectDir)PostBuild.ps1" $(TargetDir)"/>
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using ModuleCore.Calendar;
|
||||
using ModuleCore.Calendar;
|
||||
using ModuleTests.Calendar.TestData;
|
||||
using System.Globalization;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Text;
|
||||
using System.Text;
|
||||
using ModuleCore.Calendar;
|
||||
|
||||
namespace ModuleTests.Calendar;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Text;
|
||||
using System.Text;
|
||||
using ModuleCore.Calendar;
|
||||
|
||||
namespace ModuleTests.Calendar;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace ModuleTests.Calendar.TestData;
|
||||
namespace ModuleTests.Calendar.TestData;
|
||||
|
||||
public class CalendarTestDates : TestDataEnumerator<DateTime>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace ModuleTests.Calendar.TestData;
|
||||
namespace ModuleTests.Calendar.TestData;
|
||||
|
||||
public class CultureCodeTestData : TestDataEnumerator<string>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌─────────────────────────────────────────┐
|
||||
┌─────────────────────────────────────────┐
|
||||
│ June 2026 │
|
||||
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
|
||||
│ Mon │ Tue │ Wed │ Thu │ Fri │ Sat │ Sun │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌─────────────────────────────────────────┐
|
||||
┌─────────────────────────────────────────┐
|
||||
│ July 2026 │
|
||||
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
|
||||
│ Mon │ Tue │ Wed │ Thu │ Fri │ Sat │ Sun │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌─────────────────────────────────────────┐
|
||||
┌─────────────────────────────────────────┐
|
||||
│ August 2026 │
|
||||
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
|
||||
│ Mon │ Tue │ Wed │ Thu │ Fri │ Sat │ Sun │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌──────────────────────────────────┐
|
||||
┌──────────────────────────────────┐
|
||||
│ srpen 2026 │
|
||||
├────┬────┬────┬────┬────┬────┬────┤
|
||||
│ po │ út │ st │ čt │ pá │ so │ ne │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌─────────────────────────────────────────┐
|
||||
┌─────────────────────────────────────────┐
|
||||
│ august 2026 │
|
||||
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
|
||||
│ man │ tir │ ons │ tor │ fre │ lør │ søn │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌─────────────────────────────────────────┐
|
||||
┌─────────────────────────────────────────┐
|
||||
│ August 2026 │
|
||||
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
|
||||
│ Mon │ Tue │ Wed │ Thu │ Fri │ Sat │ Sun │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌────────────────────────────────────────────────┐
|
||||
┌────────────────────────────────────────────────┐
|
||||
│ agosto 2026 │
|
||||
├──────┬──────┬──────┬──────┬──────┬──────┬──────┤
|
||||
│ lun. │ mar. │ mié. │ jue. │ vie. │ sáb. │ dom. │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌────────────────────────────────────────────────┐
|
||||
┌────────────────────────────────────────────────┐
|
||||
│ août 2026 │
|
||||
├──────┬──────┬──────┬──────┬──────┬──────┬──────┤
|
||||
│ lun. │ mar. │ mer. │ jeu. │ ven. │ sam. │ dim. │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌──────────────────────────────────┐
|
||||
┌──────────────────────────────────┐
|
||||
│ augustus 2026 │
|
||||
├────┬────┬────┬────┬────┬────┬────┤
|
||||
│ ma │ di │ wo │ do │ vr │ za │ zo │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌───────────────────────────────────────────────────────┐
|
||||
┌───────────────────────────────────────────────────────┐
|
||||
│ ఆగస్టు 2026 │
|
||||
├───────┬───────┬───────┬───────┬───────┬───────┬───────┤
|
||||
│ సోమ │ మంగళ │ బుధ │ గురు │ శుక్ర │ శని │ ఆది │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌─────────────────────────────────────────┐
|
||||
┌─────────────────────────────────────────┐
|
||||
│ August 2026 │
|
||||
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
|
||||
│ Mon │ Tue │ Wed │ Thu │ Fri │ Sat │ Sun │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Double-wide characters will display incorrectly but still tested until rendering can be improved
|
||||
Double-wide characters will display incorrectly but still tested until rendering can be improved
|
||||
┌─────────────────────────────────────────┐
|
||||
│ August 2026 │
|
||||
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Emojis will display incorrectly in text but output correctly in terminals with UTF-8 encoding.
|
||||
Emojis will display incorrectly in text but output correctly in terminals with UTF-8 encoding.
|
||||
┌─────────────────────────────────────────┐
|
||||
│ August 2026 │
|
||||
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌──────────────────────────────────────────────────────────────┐
|
||||
┌──────────────────────────────────────────────────────────────┐
|
||||
│ August 2026 │
|
||||
├────────┬────────┬────────┬────────┬────────┬────────┬────────┤
|
||||
│ Mon │ Tue │ Wed │ Thu │ Fri │ Sat │ Sun │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
┌─────────────────────────────────────────┐
|
||||
┌─────────────────────────────────────────┐
|
||||
│ August 2026 │
|
||||
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
|
||||
│ Mon │ Tue │ Wed │ Thu │ Fri │ Sat │ Sun │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Start Day: Sunday
|
||||
Start Day: Sunday
|
||||
┌─────────────────────────────────────────┐
|
||||
│ August 2026 │
|
||||
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Text;
|
||||
using System.Text;
|
||||
using ModuleCore.Calendar;
|
||||
using ModuleCore.Git;
|
||||
using ModuleTests.Git.TestData;
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
Attempted to register: test
|
||||
Attempted to register: test
|
||||
Registration result: test
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
Attempted to register: test\path
|
||||
Attempted to register: test\path
|
||||
Registration result: test\path
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
Attempted to register: other/path
|
||||
Attempted to register: other/path
|
||||
Registration result: other/path
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Linq;
|
||||
using System.Linq;
|
||||
|
||||
namespace ModuleTests.Git.TestData;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace ModuleTests;
|
||||
namespace ModuleTests;
|
||||
|
||||
public class TestConstants
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Collections;
|
||||
using System.Collections;
|
||||
|
||||
namespace ModuleTests;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue