Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Commit

Permalink
Add a project to create a release archive.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed May 22, 2019
1 parent 5c70b26 commit 5be8f5f
Show file tree
Hide file tree
Showing 15 changed files with 78 additions and 33 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
/*/bin
/*/obj
/Build
/packages
.vs
.vscode
*.user
33 changes: 33 additions & 0 deletions Augmentrex.Archive/Augmentrex.archive.proj
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<ProjectGuid>{9522FC5A-8E6E-40C2-853E-6947B656D0D6}</ProjectGuid>
</PropertyGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="..\packages\MSBuildTasks.1.5.0.235\build\MSBuildTasks.targets" Condition="Exists('..\packages\MSBuildTasks.1.5.0.235\build\MSBuildTasks.targets')" />
<Import Project="..\packages\MSBuild.Extension.Pack.1.9.1\build\net40\MSBuild.Extension.Pack.targets" Condition="Exists('..\packages\MSBuild.Extension.Pack.1.9.1\build\net40\MSBuild.Extension.Pack.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\MSBuildTasks.1.5.0.235\build\MSBuildTasks.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSBuildTasks.1.5.0.235\build\MSBuildTasks.targets'))" />
<Error Condition="!Exists('..\packages\MSBuild.Extension.Pack.1.9.1\build\net40\MSBuild.Extension.Pack.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSBuild.Extension.Pack.1.9.1\build\net40\MSBuild.Extension.Pack.targets'))" />
</Target>
<Target Name="Build">
<ItemGroup>
<ReleaseFiles Include="..\*.md; ..\*.ico" />
<ReleaseFiles Include="..\Build\*.exe*; ..\Build\*.dll; ..\Build\*.pdb" />
</ItemGroup>
<Assembly TaskAction="GetInfo" NetAssembly="..\Build\Augmentrex.exe">
<Output TaskParameter="OutputItems" ItemName="AugmentrexInfo" />
</Assembly>
<Zip ZipFileName="..\Build\Augmentrex-%(AugmentrexInfo.AssemblyInformationalVersion).zip" WorkingDirectory="..\Build" Files="@(ReleaseFiles)" />
</Target>
<Target Name="Clean">
<Delete Files="..\Build\Augmentrex-*.zip" />
</Target>
<Target Name="Rebuild" DependsOnTargets="Clean; Build" />
</Project>
5 changes: 5 additions & 0 deletions Augmentrex.Archive/packages.config
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="MSBuild.Extension.Pack" version="1.9.1" targetFramework="net40" />
<package id="MSBuildTasks" version="1.5.0.235" targetFramework="net40" developmentDependency="true" />
</packages>
Expand Up @@ -22,6 +22,9 @@
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\SolutionInfo.cs">
<Link>Properties\SolutionInfo.cs</Link>
</Compile>
<Compile Include="PatchCCAgentCommand.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
Expand Down
7 changes: 0 additions & 7 deletions Augmentrex.Commands.PatchCCAgent/Properties/AssemblyInfo.cs
@@ -1,11 +1,4 @@
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("patch-cc-agent")]
[assembly: AssemblyDescription("Patches the Havok capsule-capsule collision agent with a return instruction, effectively disabling it.")]
[assembly: AssemblyCompany("Alex Rønne Petersen")]
[assembly: AssemblyProduct("Augmentrex")]
[assembly: AssemblyCopyright("Copyright © Alex Rønne Petersen")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Expand Up @@ -22,6 +22,9 @@
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\SolutionInfo.cs">
<Link>Properties\SolutionInfo.cs</Link>
</Compile>
<Compile Include="PatchLongRayVMCommand.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
Expand Down
7 changes: 0 additions & 7 deletions Augmentrex.Commands.PatchLongRayVM/Properties/AssemblyInfo.cs
@@ -1,11 +1,4 @@
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("patch-long-ray-vm")]
[assembly: AssemblyDescription("Patches the Havok long ray virtual machine with a return instruction, effectively disabling it.")]
[assembly: AssemblyCompany("Alex Rønne Petersen")]
[assembly: AssemblyProduct("Augmentrex")]
[assembly: AssemblyCopyright("Copyright © Alex Rønne Petersen")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Expand Up @@ -22,6 +22,9 @@
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\SolutionInfo.cs">
<Link>Properties\SolutionInfo.cs</Link>
</Compile>
<Compile Include="SimpleTestPlugin.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
Expand Down
7 changes: 0 additions & 7 deletions Augmentrex.Plugins.SimpleTest/Properties/AssemblyInfo.cs
@@ -1,11 +1,4 @@
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("simple-test")]
[assembly: AssemblyDescription("A simple test plugin to verify that the plugin manager works.")]
[assembly: AssemblyCompany("Alex Rønne Petersen")]
[assembly: AssemblyProduct("Augmentrex")]
[assembly: AssemblyCopyright("Copyright © Alex Rønne Petersen")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
File renamed without changes.
9 changes: 7 additions & 2 deletions Augmentrex.sln
Expand Up @@ -3,17 +3,17 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28721.148
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Augmentrex", "Augmentrex\Augmentrex.csproj", "{6E5B1E1C-5C31-444F-906D-C1C04DB0CB5F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C02001A0-750D-4A8B-89A2-8765A3FCE7A6}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitattributes = .gitattributes
.gitignore = .gitignore
.markdownlint.json = .markdownlint.json
appveyor.yml = appveyor.yml
Augmentrex.ico = Augmentrex.ico
LICENSE.md = LICENSE.md
README.md = README.md
SolutionInfo.cs = SolutionInfo.cs
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{047B8436-9292-466C-B8C3-A5B133A58A51}"
Expand All @@ -22,6 +22,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{047B
.github\CONTRIBUTING.md = .github\CONTRIBUTING.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Augmentrex", "Augmentrex\Augmentrex.csproj", "{6E5B1E1C-5C31-444F-906D-C1C04DB0CB5F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Augmentrex.Archive", "Augmentrex.Archive\Augmentrex.Archive.proj", "{9522FC5A-8E6E-40C2-853E-6947B656D0D6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Augmentrex.Commands.PatchCCAgent", "Augmentrex.Commands.PatchCCAgent\Augmentrex.Commands.PatchCCAgent.csproj", "{0AC3B157-4389-4FDB-8778-F87E48C1C663}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Augmentrex.Commands.PatchLongRayVM", "Augmentrex.Commands.PatchLongRayVM\Augmentrex.Commands.PatchLongRayVM.csproj", "{3649819A-6DB2-4D13-92D1-9AF8DCF1F6E6}"
Expand All @@ -35,6 +39,7 @@ Global
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6E5B1E1C-5C31-444F-906D-C1C04DB0CB5F}.Debug|x86.ActiveCfg = Debug|x86
{6E5B1E1C-5C31-444F-906D-C1C04DB0CB5F}.Debug|x86.Build.0 = Debug|x86
{9522FC5A-8E6E-40C2-853E-6947B656D0D6}.Debug|x86.ActiveCfg = Debug|x86
{0AC3B157-4389-4FDB-8778-F87E48C1C663}.Debug|x86.ActiveCfg = Debug|x86
{0AC3B157-4389-4FDB-8778-F87E48C1C663}.Debug|x86.Build.0 = Debug|x86
{3649819A-6DB2-4D13-92D1-9AF8DCF1F6E6}.Debug|x86.ActiveCfg = Debug|x86
Expand Down
9 changes: 7 additions & 2 deletions Augmentrex/Augmentrex.csproj
Expand Up @@ -5,7 +5,7 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ApplicationIcon>Properties\Hellgate.ico</ApplicationIcon>
<ApplicationIcon>..\Augmentrex.ico</ApplicationIcon>
<ApplicationManifest>Properties\App.manifest</ApplicationManifest>
<AssemblyName>Augmentrex</AssemblyName>
<DebugSymbols>true</DebugSymbols>
Expand All @@ -26,6 +26,9 @@
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\SolutionInfo.cs">
<Link>Properties\SolutionInfo.cs</Link>
</Compile>
<Compile Include="Commands\CommandInterpreter.cs" />
<Compile Include="Commands\Core\BreakCommand.cs" />
<Compile Include="Commands\Core\ClearCommand.cs" />
Expand Down Expand Up @@ -63,9 +66,11 @@
<Compile Include="Win32.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\Augmentrex.ico">
<Link>..\Augmentrex.ico</Link>
</None>
<None Include="Properties\App.config" />
<None Include="Properties\App.manifest" />
<None Include="Properties\Hellgate.ico" />
</ItemGroup>
<ItemGroup>
<None Include="$(NuGetPackageRoot)\easyhook\2.7.6789\content\net40\*32*">
Expand Down
9 changes: 1 addition & 8 deletions Augmentrex/Properties/AssemblyInfo.cs
@@ -1,11 +1,4 @@
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("Augmentrex")]
[assembly: AssemblyTitle(nameof(Augmentrex))]
[assembly: AssemblyDescription("A reverse engineering tool for the Steam version of Hellgate: London.")]
[assembly: AssemblyCompany("Alex Rønne Petersen")]
[assembly: AssemblyProduct("Augmentrex")]
[assembly: AssemblyCopyright("Copyright © Alex Rønne Petersen")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
10 changes: 10 additions & 0 deletions SolutionInfo.cs
@@ -0,0 +1,10 @@
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyCompany("Alex Rønne Petersen")]
[assembly: AssemblyProduct(nameof(Augmentrex))]
[assembly: AssemblyCopyright("ISC License (No Attribution)")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
5 changes: 5 additions & 0 deletions appveyor.yml
@@ -1,3 +1,8 @@
after_build:
- cmd: |
forfiles /m *.proj /S /C "cmd /C msbuild @path"
artifacts:
- path: 'Build\*.zip'
build:
verbosity: detailed
before_build:
Expand Down

0 comments on commit 5be8f5f

Please sign in to comment.