-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to .NET Core / Add GitHub Actions (#17)
Upgrade to .NET Core and Add GitHub Actions to build it.
- Loading branch information
Showing
6 changed files
with
85 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
env: | ||
DOTNET_NOLOGO: true | ||
steps: | ||
# Grab The Source Code | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
# Verify that the code is formatted correctly | ||
- name: dotnet-format whitespace | ||
run: dotnet format whitespace --verify-no-changes | ||
|
||
# Verify that the code is formatted correctly | ||
- name: dotnet-format style | ||
run: dotnet format style --verify-no-changes | ||
|
||
# Verify that the code is formatted correctly | ||
- name: dotnet-format analzyers | ||
run: dotnet format analyzers --verify-no-changes | ||
|
||
# Build the Solution | ||
- name: Build Solution | ||
run: dotnet build --configuration Release | ||
|
||
# Upload Artifacts | ||
- name: Upload Artifacts to GitHub | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ManipulativeReplacer-${{ github.sha }} | ||
path: ManipulativeReplacer/bin/Release/**/ManipulativeReplacer* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,103 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{A6A27F6C-4011-4574-8D00-CCD7EE8491DF}</ProjectGuid> | ||
<TargetFramework>net6.0-windows</TargetFramework> | ||
<OutputType>WinExe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>ManipulativeReplacer</RootNamespace> | ||
<AssemblyName>ManipulativeReplacer</AssemblyName> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<UseWindowsForms>true</UseWindowsForms> | ||
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | ||
<RunCodeAnalysis>true</RunCodeAnalysis> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Deployment" /> | ||
<Reference Include="System.Drawing" /> | ||
<Reference Include="System.Windows.Forms" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="AboutManipulativeReplacerBox.cs"> | ||
<SubType>Form</SubType> | ||
</Compile> | ||
<Compile Include="AboutManipulativeReplacerBox.Designer.cs"> | ||
<DependentUpon>AboutManipulativeReplacerBox.cs</DependentUpon> | ||
</Compile> | ||
<Compile Include="BindableToolStripMenuItem.cs"> | ||
<Compile Update="BindableToolStripMenuItem.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Include="MainForm.cs"> | ||
<SubType>Form</SubType> | ||
</Compile> | ||
<Compile Include="MainForm.Designer.cs"> | ||
<DependentUpon>MainForm.cs</DependentUpon> | ||
</Compile> | ||
<Compile Include="Pattern.cs" /> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<EmbeddedResource Include="AboutManipulativeReplacerBox.resx"> | ||
<DependentUpon>AboutManipulativeReplacerBox.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="MainForm.resx"> | ||
<DependentUpon>MainForm.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="Properties\Resources.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||
<SubType>Designer</SubType> | ||
</EmbeddedResource> | ||
<Compile Include="Properties\Resources.Designer.cs"> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Resources.resx</DependentUpon> | ||
</Compile> | ||
<None Include="Properties\Settings.settings"> | ||
<Generator>SettingsSingleFileGenerator</Generator> | ||
<LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||
</None> | ||
<Compile Include="Properties\Settings.Designer.cs"> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Settings.settings</DependentUpon> | ||
<DesignTimeSharedInput>True</DesignTimeSharedInput> | ||
</Compile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="App.config" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,31 @@ | ||
# ManipulativeReplacer | ||
A Simple Program To Help With Bulk Data Manipulation Tasks. | ||
|
||
This program was written to help me at work (and home), wherein I found myself in need of a quick way to generate several similar commands where only a single argument changed. | ||
|
||
## Basic Usage | ||
Here is a GIF of this in action: | ||
![ManipulativeReplacerInAction](Docs/ManipulativeReplacerUsage.gif) | ||
|
||
The program is pretty straight forward; there are three "Panels" numbered in the following screenshot: | ||
|
||
![ManipulativeReplacerPanelsNumbered](Docs/ManipulativeReplacer.png) | ||
|
||
1. This is the `Pattern` panel | ||
2. This is the `Input` panel | ||
3. This is the `Output` panel | ||
|
||
In the `Pattern` panel you put in whatever you want repeated, the keyword `{EXT}` is used to indicate where you want the values specified in the `Input` panel inserted. You can repeat the `{EXT}` keyword as many times as you want. This can have as many NewLines or exotic formatting as you wish and it will be repeated. | ||
|
||
The `Input` panel is a NewLine delimited list of items that will be used as replacement values. | ||
|
||
The `Output` panel will show the results of this operation (in real time). While it is editable any change to the `Pattern` or `Input` panels will regenerate this output. | ||
|
||
## Bugs/Feature Requests | ||
I accept pull requests and am responsive on GitHub, Let me know! | ||
|
||
## License | ||
This is licensed under the MIT License. | ||
# ManipulativeReplacer | ||
A Simple Program To Help With Bulk Data Manipulation Tasks. | ||
|
||
This program was written to help me at work (and home), wherein I found myself in need of a quick way to generate several similar commands where only a single argument changed. | ||
|
||
## Basic Usage | ||
Here is a GIF of this in action: | ||
![ManipulativeReplacerInAction](Docs/ManipulativeReplacerUsage.gif) | ||
|
||
The program is pretty straight forward; there are three "Panels" numbered in the following screenshot: | ||
|
||
![ManipulativeReplacerPanelsNumbered](Docs/ManipulativeReplacer.png) | ||
|
||
1. This is the `Pattern` panel | ||
2. This is the `Input` panel | ||
3. This is the `Output` panel | ||
|
||
In the `Pattern` panel you put in whatever you want repeated, the keyword `{EXT}` is used to indicate where you want the values specified in the `Input` panel inserted. You can repeat the `{EXT}` keyword as many times as you want. This can have as many NewLines or exotic formatting as you wish and it will be repeated. | ||
|
||
The `Input` panel is a NewLine delimited list of items that will be used as replacement values. | ||
|
||
The `Output` panel will show the results of this operation (in real time). While it is editable any change to the `Pattern` or `Input` panels will regenerate this output. | ||
|
||
## Hacking | ||
I utilized the `upgrade-assistant` tool to inline upgrade this to .NET Core. However the underlying application is still using Windows Forms which means it is Windows Only until I can be bothered to convert this to something cross platform. | ||
|
||
## Bugs/Feature Requests | ||
I accept pull requests and am responsive on GitHub, Let me know! | ||
|
||
## License | ||
This is licensed under the MIT License. |